| 01-17-2004, 10:57 PM | #1 |
Yes or no: When you hide a unit using Unit - Hide, it dissappears from all variables using that unit. True? Like if i do set footman1 = Footie(variable) and then hide it. And then do "Unit - kill Footie(variable)", it wont die cuz its hidden and not in variable? |
| 01-17-2004, 11:19 PM | #2 |
Test it... and if it won't show up for variables while hidden, and you need it to, you can unhide it, do what you need to, and hide it again, which would happen WAY too quickly for someone to actually see the unit |
| 01-18-2004, 12:36 AM | #3 |
Yah, I've used that same thing in my map and it works perfectly. I can't tell when the unit is being hidden, it's just loss of 1 frame rate and thats all. |
| 01-18-2004, 07:07 AM | #4 | |
Quote:
Well... lets say you want to unhide bandit number 1, which you ONLY know which one it is cuz its a variable? You use variable, "unhide variable", then u cant unhide, use the variable u needed to unhide, and then hide again.... i hope u got me there=) NVM i figured out. The variables are still stored, but i used "pick every player in all players and do: create footman. Set "Footmans(array,variable) [player number of owner of last created unit] = last created unit" I guess that messed it up:D |
