• 🏆 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!

[Trigger] how do i make a duel trigger?

Status
Not open for further replies.
Level 4
Joined
Feb 17, 2007
Messages
121
Hey, making a duel trigger is hard.... so i and asking if someone can help me make one... contact me for the map if you guys/girls can do it on the mario arena map i made
BETA
 
Level 4
Joined
Sep 9, 2004
Messages
112
You mean like a duel request system kind of like requesting someone to duel in WoW?
 
Level 4
Joined
Feb 17, 2007
Messages
121
no u see like anime arena or something like that hmm naruto wars, naruto SW

like those duels

with that timer
 
Level 4
Joined
Sep 9, 2004
Messages
112
No idea what your talking about then so I don't think I can help unless you better explain how you want it to work..
 
Level 4
Joined
Feb 17, 2007
Messages
121
okay like


theres 3 players on each team

2 teams

and there is a duel timer
when the timer hits 0
it like stops all the unit, then it chooses the best point killer or something then it bring 1 person from each team into another place then it should be like

3
2
1
DUEL or fight

like that kind of duel trigger
 
Last edited:
Level 4
Joined
Sep 9, 2004
Messages
112
Sounds like Angel Arena all over again..

I think he meant 2 teams of 3 players..

Just use a timer, when the timer expires, pause all units, move the top 2 killers to the "arena spot" then use game messages with waits for the 3, 2, 1, go stuff.. really simple.. don't forget to unpause the dueling units after the 3, 2, 1 stuff..
 
Level 4
Joined
Feb 17, 2007
Messages
121
yea that what i ment lol

3 players in each team'

haha my bad

like but i would need help with the highest killer and the multiboard or leader board
 
Level 4
Joined
Sep 9, 2004
Messages
112
I do believe there is a tutorial on here for Multiboards and Leaderboards but the highest killer shouldn't be too hard..

Didn't want to have to do all this but here.. for the duel, as for the timer and leaderboard your on your own man, I do believe there are tutorials for both though..

  • Dueler Check
    • Events
      • Time - DuelTimer expires
    • Conditions
    • Actions
      • Unit - Pause all units
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Team1Kills[2] Greater than or equal to Team1Kills[3]
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Team1Kills[2] Greater than or equal to Team1Kills[4]
            • Then - Actions
              • Set Team1Dueler = Team1Hero[1]
            • Else - Actions
              • Set Team1Dueler = Team1Hero[3]
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Team1Kills[3] Greater than or equal to Team1Kills[4]
            • Then - Actions
              • Set Team1Dueler = Team1Hero[2]
            • Else - Actions
              • Set Team1Dueler = Team1Hero[3]
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Team2Kills[2] Greater than or equal to Team2Kills[3]
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Team2Kills[2] Greater than or equal to Team2Kills[4]
            • Then - Actions
              • Set Team2Dueler = Team2Hero[1]
            • Else - Actions
              • Set Team2Dueler = Team2Hero[3]
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Team2Kills[3] Greater than or equal to Team2Kills[4]
            • Then - Actions
              • Set Team2Dueler = Team2Hero[2]
            • Else - Actions
              • Set Team2Dueler = Team2Hero[3]
      • Unit - Move Team1Dueler instantly to (Center of Dueler 1 <gen>)
      • Camera - Pan camera for (Owner of Team1Dueler) to (Center of Dueler 1 <gen>) over 0.50 seconds
      • Unit - Move Team2Dueler instantly to (Center of Dueler 2 <gen>)
      • Camera - Pan camera for (Owner of Team2Dueler) to (Center of Dueler 2 <gen>) over 0.50 seconds
      • Game - Display to (All players) the text: Duel will start in ...
      • Game - Display to (All players) the text: 3!
      • Wait 1.00 seconds
      • Game - Display to (All players) the text: 2!
      • Wait 1.00 seconds
      • Game - Display to (All players) the text: 1!
      • Wait 1.00 seconds
      • Game - Display to (All players) the text: GO!
      • Unit - Unpause Team1Dueler
      • Unit - Unpause Team2Dueler
      • Trigger - Turn on Duel Over <gen>
^ Selects the dueler for each team and initiates the duel! ^

  • Duel Over
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Dying unit) Equal to Team1Dueler
        • Then - Actions
          • Unit - Move Team2Dueler instantly to (Center of (Playable map area))
          • Unit - Unpause all units
          • Game - Display to (All players) the text: Team 2 has won the ...
          • Game - Display to (All players) the text: ((Name of (Owner of Team2Dueler)) + ( has just owned + ((Name of (Owner of Team1Dueler)) + in a duel! How pathetic!)))
          • Set Team1Dueler = No unit
          • Set Team2Dueler = No unit
          • Trigger - Run Duel Timer <gen> (checking conditions)
          • Trigger - Turn off (This trigger)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Dying unit) Equal to Team2Dueler
            • Then - Actions
              • Unit - Move Team1Dueler instantly to (Center of (Playable map area))
              • Unit - Unpause all units
              • Game - Display to (All players) the text: Team 1 has won the ...
              • Game - Display to (All players) the text: ((Name of (Owner of Team1Dueler)) + ( has just owned + ((Name of (Owner of Team2Dueler)) + in a duel! How pathetic!)))
              • Set Team1Dueler = No unit
              • Set Team2Dueler = No unit
              • Trigger - Run Duel Timer <gen> (checking conditions)
              • Trigger - Turn off (This trigger)
            • Else - Actions
              • Do nothing
^ Ends the duel after one of the current duelers die! ^

If you use these please add rep! Thanks!
 
Status
Not open for further replies.
Top