- Joined
- Oct 20, 2010
- Messages
- 236
Currently, I am creating a command that should work with multiple players. It performs just fine in singleplayer, but the moment two players are typing it I get selection bugs.
What am I misunderstanding?
What am I misunderstanding?
-
give
-

Events
-


Player - Player 1 (Red) types a chat message containing give as A substring
-


Player - Player 2 (Blue) types a chat message containing give as A substring
-


Player - Player 3 (Teal) types a chat message containing give as A substring
-
-

Conditions
-


(Substring((Entered chat string), 1, 4)) Equal to give
-
-

Actions
-


Set VariableSet TempGroup = (Units currently selected by (Triggering player))
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Number of units in TempGroup) Greater than 0
-
-



Then - Actions
-




Unit Group - Pick every unit in TempGroup and do (Actions)
-





Loop - Actions
-






stuff
-
-
-




Custom script: call DestroyGroup (udg_TempGroup)
-
-



Else - Actions
-
-
-






