• 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.

Arena teleports

Status
Not open for further replies.
Level 5
Joined
Jan 13, 2008
Messages
96
Hello all! I always loved arena maps, like angelarena, wowtournaments, etc, and i decided to make my own map, but i got a problem...I dont know how to teleport heroes for every player into a region (arena place) BUT...i want to know when the player hero was CHOOSED FROM A TAVERN. Can anyone help me with an trigger, tutorial or give me an ideea how can i do this. Thanks anticipated !
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
Detect That a player picked a hero from tavern and store it in an arryed variable!:
  • Hero Choose Tavern
    • Events
      • Unit - A unit Sells a unit
    • Conditions
    • Actions
      • Set Hero[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
Then When the Arena Timer expires , Pick All players' heroes as I have done here:
  • Arena
    • Events
      • Time - ArenaTimer expires
    • Conditions
    • Actions
      • For each (Integer TempInteger) from 1 to 12, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Player(TempInteger)) slot status) Equal to Is playing
            • Then - Actions
              • Set TempPoint[TempInteger] = (Center of EachPlayerArenaRegion[TempInteger])
              • Unit - Move Hero[TempInteger] instantly to TempPoint[TempInteger]
              • Custom script: call RemoveLocation(udg_Tempoint[udg_TempInteger])
            • Else - Actions
I used Loop integer so I shorten each player's trigger in one only trigger ! So 1 is the first player , and 12 is the final player . You can change this!
 
Level 5
Joined
Jan 13, 2008
Messages
96
I want an specific point in arena place @wrathion
I also want for an arena match to be without time. The map will get every 1 minute go in arena. So if players finish the match in 2-3 minutes or more, there will be only 1 minute for buying items until next arena match begins.
 
Status
Not open for further replies.
Top