| 04-30-2007, 03:47 AM | #2 |
First thought: Whats with the overuse of variables? Than entire spell could be half the size without using variables. I'll try to make sense of this tomorrow.. in the meantime please explain what this is supposed to do in the first place. |
| 04-30-2007, 03:51 AM | #3 |
sorry... the unit that casts this thing is supposed to change owner to a non controled player and go to the camp (position of "new unit") and this so called new unit is supposed to run to the caster initial position and change owner to the player that casted the spell... got it? |
| 04-30-2007, 03:58 AM | #4 |
Hmm.. I have no idea why this wouldnt work Try doing the following: Change A unit Is issued an order with no target to A Unit starts the Effect of an Ability Remove all the variables in that trigger, theres absolutely no need for any of them. |
| 04-30-2007, 04:02 AM | #5 |
the order thing is working fine... and about the variable, how i'm supposed to detect the random unit latter without any variables? |
| 04-30-2007, 04:11 AM | #6 |
If you need to detect it later, you can add it to a variable later in the trigger. For example: Trigger: ![]() Set Number = (Player number of (Owner of (Triggering unit)))
![]() Unit Group - Remove all units from DismissGroup[Number]Trigger: Unit Group - Remove all units from DismissGroup(Player number of (Owner of (Triggering unit))) |
