• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Having slight problems with teleports...

Status
Not open for further replies.
Level 2
Joined
Aug 19, 2009
Messages
14
Ok, basically I'm making an arena map which is team based.

However, i need to get every player to go into the boss arena at the same time.

How would i do this?:vw_wtf:

P.S: Ive got an area ready to trigger and such, i just need to know how to do it.

thanks for any responses
 
the action is called

unit group - pick every unit in unit group

then you need an if-statement (at the top of the list) with boolean and player comparison.

the trigger editor offers a search field to find actions quickly, though it is already pretty organized in categories.

just look around a little, that's the best way to learn
 
  • Actions
    • Set HeroGroup = (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Owner of (Matching unit)) controller) Equal to User)))
    • Unit Group - Pick every unit in HeroGroup and do (Actions)
      • Loop - Actions
        • Unit - Move (Picked unit) instantly to Arena
    • Custom script: call DestroyGroup(udg_HeroGroup)
If you can, should set the hero of each player into variables.
  • Actions
    • For each (Integer A) from 1 to 12, do (Actions)
      • Loop - Actions
        • Set Hero[(Integer A)] = (Random unit from (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and ((Owner of (Matching unit)) Equal to (Player((Integer A)))))))
And use variable as hero
  • Actions
    • Unit - Move Hero[1] instantly to Arena
    • Unit - Move Hero[2] instantly to Arena
    • Unit - Move Hero[3] instantly to Arena
    • Unit - Move Hero[4] instantly to Arena
  • ...
 
Status
Not open for further replies.
Back
Top