[Trigger] Move Unit Instantly based on selection and text typed, help.

Status
Not open for further replies.

Volkri

V

Volkri

so this trigger im trying to make is really agravating me and wondering if its outa WE gui limits. Basically this is what i want. I want to select a unit, and then depending on what i type after i selected it move the selected unit instantly to a location.

ANy ideas would be nice. Thanks.
 
  • Move Trigger
    • Events
      • Player - Player 1 (Red) types a chat message containing "" as A substring
      • Player - Player 2 (Blue) types a chat message containing "" as A substring
      • Player - Player 3 (Teal) types a chat message containing "" as A substring
      • Player - Player 4 (Purple) types a chat message containing "" as A substring
      • ...
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • String Comparing...
        • Then - Actions
          • Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
            • Loop - Actions
              • Unit - Move (Picked unit) instantly to Somewhere
        • Else - Actions
          • Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
            • Loop - Actions
              • Unit - Move (Picked unit) instantly to Somewhere Else
 
Thank you very much Hakeem, i wasnt sure if i could put multiple events in a trigger. Anywho you will be credited for trigger help =D.
 
one thing does it have to be a substring if for example everyone types -1 but based on waht player it is moves to that designated locations.

Think of LTW where every player has an identical space. Well if red types -1 move the selected unit to his base, if blue types it then move it to blues base.

What im stuck on is it possible for there to be a condition where if player 1 types string as exact match

then move unit to location, therefore i only need 1 trigger and not one for each player.
 
Status
Not open for further replies.
Back
Top