| 07-01-2005, 02:42 PM | #1 |
How do i go about Making a Certain Unit Into a Variable I know its "Set Variable (Insert Something Here) thats all i know lol |
| 07-01-2005, 03:17 PM | #2 |
First off you need a variable to set the unit to. Action -> Set Variable -> Edit Variables -> New Variable Name the variable whatever you want and set the type to Unit (unit). Then to set a unit to this variable. Action -> Set Variable -> Choose the variable you just made from the dropdown = whatever unit you want it to be. And you're done. |
| 07-01-2005, 04:44 PM | #3 | |
Quote:
or just click the yellow "X" on top of the trigger screen |
| 07-01-2005, 09:46 PM | #4 |
Ah yeah action my mistake. |
| 07-02-2005, 01:04 AM | #5 |
You can also make a unit variable and set it in mid-game, by creating an action it will do and then Set UnitVar = TriggeringUnit |
