• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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