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

Duel/ Duel Arena

Status
Not open for further replies.
Level 9
Joined
Aug 1, 2008
Messages
453
1. a duel arena thing kind like in angel arena or hell vs heaven? where the best 2 people fight.

2. and how would i make it so it the same thing but when a person enters it waits tell another person enter then they duel and when 1 person dies it takes the winner back to town.

Will +rep if helped
 
Level 18
Joined
Sep 27, 2005
Messages
2,069
Lets say you have 4 players on each side, then make a integer variable.

Then on triggers: set integer = math random number between 1 and 4

If it is 1 it takes player 1, if its 2 it takes player 2 etc.

Same for the opposing team.

Then you move then to the arena and make them fight there, pausing and making invurnable all other players.

Now before you move them you should assign a unit variable to each of them, and then if one dies then move the other back.
 
Status
Not open for further replies.
Top