i need to make a trigger that when a player (7 players total) types -summon while he is in the battle area, the units in the store area moves to the hero's (main unit) postiotion. i tried this but it didnt work:
-
Summon Red
-
Events
-
Player - Player 1 (Red) types a chat message containing -summon as An exact match
-
-
Conditions
-
Actions
-
Set TempGroup2 = (Units in (Playable map area) owned by Player 1 (Red))
-
Unit Group - Pick every unit in TempUnitGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) is A Hero) Equal to False
-
-
Then - Actions
-
Unit - Move (Picked unit) instantly to (Position of Jack Longshanks 0122 <gen>)
-
-
Else - Actions
-
-
-
-
Custom script: call DestroyGroup(udg_TempGroup2)
-
-