skyblader
You're living only because it's illegal killing.
- Reaction score
- 159
Trigger:
- Actions
- Set UnitGroupCount2 = (Number of units in NegativeChargeGroup)
- For each (Integer A) from 1 to UnitGroupCount2, do (Actions)
- Loop - Actions
- Set TempUnit = (Random unit from NegativeChargeGroup)
- Game - Display to (All players) the text: ((Name of TempUnit) + has been loaded.)
- Unit Group - Remove TempUnit from NegativeChargeGroup
- Unit Group - Add TempUnit to NegativeChargeGroup2
- Set UnitGroupCount2 = (Number of units in NegativeChargeGroup2)
- Game - Display to (All players) the text: (String(UnitGroupCount2))
- Loop - Actions
This trigger, is supposed to Remove a unit from unit group a and add it into unit group b. As you can see, the unit is TempUnit, and the 2 groups are NegativeChargeGroup and NegativeChargeGroup2. After this trigger runs, an expected answer would be
(Name of TempUnit) has been loaded.
Number(of units in NegativeChargeGroup2) (In this case, supposed to be 1)
Now the weird part was, the answer that came out was,
(Name of TempUnit) has been loaded.
0
Any explanation to this?