• 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] 2 more triggers and i'm done!

Status
Not open for further replies.
Level 3
Joined
Aug 31, 2008
Messages
22
ok, now i need 2 more triggers and my map is done!

first of all a simply trigger that tells you when players leave the game...

And the most important, a complete duel system with even the reward for the winner and the port back for heroes that were fighting.

Answer me please. ^^
 
Level 6
Joined
Aug 13, 2008
Messages
197
first of all a simply trigger that tells you when players leave the game
event-a player leave the game
action-display (color of player, has left the game) to (all player) for 30sec

And the most important, a complete duel system with even the reward for the winner and the port back for heroes that were fighting.
event-every (duel time)
condition-(duel) is on
action-wait till (number of unit in (duel arena) equals to 1) checking every .5 sec
pick every unit in (duel arena)
-add (value) to (owner of picked unit) current (gold)
-move (picked unit) to (home ground)
 
Status
Not open for further replies.
Top