- Joined
- Jul 24, 2007
- Messages
- 308
why does this unit not being added to group.. help plz
here is action:
here is action:
-
For each (Integer A) from 1 to 2, do (Actions)
-
Loop - Actions
- Unit - Create 1 Unit(is not variable) for (Owner of (Casting unit)) at Not-Leaking-Point facing 180 degrees <-- works
- Set DummyTest = (Last created unit) <--- works
- Game - Display to (All players) the text: (Unit Name : + (Name of DummyTest)) <-- Displayed correctly
- Unit Group - Add DummyTest to UnitGroup <<<< does NOT work!
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (DummyTest is in UnitGroup) Equal to True
-
Then - Actions
- Quest - Display to (All players) the Quest Update message: Unit Added to Group <<<<< does NOT be displayed!
-
Else - Actions
- Do Nothing
-
If - Conditions
-
Loop - Actions