How do i?

Status
Not open for further replies.
Level 3
Joined
Oct 2, 2013
Messages
27
make when a player says -Undead Shop it will teleport a hero (is multiple different types of heroes)owned by a certain player to that region.
 
Level 9
Joined
Apr 23, 2011
Messages
527
btw, be more specific in your title.

simple
  • undead shop
    • Events
      • Player - Player 1 (Red) types a chat message containing -Undead Shop as An exact match
      • Player - Player 2 (Blue) types a chat message containing -Undead Shop as An exact match
      • Player - Player 3 (Teal) types a chat message containing -Undead Shop as An exact match
    • Conditions
    • Actions
      • Set playerunits = (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True))
      • Unit Group - Pick every unit in playerunits and do (Unit - Move (Picked unit) instantly to (Center of undead shop <gen>))
      • Custom script: call DestroyGroup(udg_playerunits)
 
Level 3
Joined
Oct 2, 2013
Messages
27
btw, be more specific in your title.

simple
  • undead shop
    • Events
      • Player - Player 1 (Red) types a chat message containing -Undead Shop as An exact match
      • Player - Player 2 (Blue) types a chat message containing -Undead Shop as An exact match
      • Player - Player 3 (Teal) types a chat message containing -Undead Shop as An exact match
    • Conditions
    • Actions
      • Set playerunits = (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True))
      • Unit Group - Pick every unit in playerunits and do (Unit - Move (Picked unit) instantly to (Center of undead shop <gen>))
      • Custom script: call DestroyGroup(udg_playerunits)

how do i do the set playerunits = (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True)) Edit: (Nvm figured it out)
 
Status
Not open for further replies.
Top