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

[Trigger] Duel System

Status
Not open for further replies.
Level 2
Joined
Aug 23, 2008
Messages
17
Hi Hive!~
I am trying to create a duel system for my soon to be finished hero-arena type map (well still needs items, creeps and proper bounty) and I am having real difficulties designing a duel system. (I wish someone would make a tutorial).

I just need a 1v1 (1 user from each team) type duel system where the winner gets 1000 extra gold and the loser 350 gold. I also need the whole game to pause, besides the 2 duelers so people will watch the duel.
If it isn't too much could you post the system in this thread with a picture of above required trigger (GUI or watever the regular WE uses please!). Thank you to all that contribute!
 
Level 13
Joined
Jul 3, 2008
Messages
1,098
event:
expiration timer ends
action:
pick unit from random player from player group 1
condition:
picked unit equal to hero
actions:
move (instantly) picked unit to arena region 1
pick unit from random player from player group 2
condition:
picked unit equal to hero
actions:
move (instantly) picked unit to arena region 2

and then pick all others players ,make them invulnerable and move them on the tribune
 
Level 2
Joined
Aug 23, 2008
Messages
17
Well that solves the moving the units to the arena, but still doesn't solve the gold awarded and then putting the winning unit back to where it was before (although I have an idea how to move it back). Thanks for the help though.:thumbs_up:
 
Status
Not open for further replies.
Top