Duels

DigimonArena

New Member
Reaction score
0
I looked at every single tutorial

Opened all the maps i could

Made and remaved the triggers

Even took screenshots of a duel trigger and tried to implant them in my map

Took the whole duel trigger from one map to my map and then edit as i need

I just wont work no matter what i do it's been 6 months(i try like 1-2 times a week)

It's impossible:banghead:

Can someone make it for me or post the exact triggers i need
Im going mad here:nuts:
 

Darthfett

Aerospace/Cybersecurity Software Engineer
Reaction score
615
A few things:
1. You posted this in the wrong forum. I moved it into the World Editor Help Zone, the correct forum.
2. Please don't spam the smilies, one will do. I edited out the extras.
3. No, we will not make the entire system for you, nor post the EXACT trigger. It differs from map to map, and we're not going to make your map for you. However, might come along and post what they've done for their own map, or possibly post an example trigger. Anyways, if you want help, I would suggest that you try and do it yourself, and when you get stuck, post what triggers you have and where you're stuck.

I'm not sure exactly what you want for a duel system, but I'm guessing it would take the two 'top' players' hero and put them in a duel arena to fight. You can break this down to much smaller triggers, such as a kill counter which keeps track of which players are the top players.
 

-OverpoweR-

Member
Reaction score
13
look for duderock101 and see if he can help you out , i've seen a duel system in one of his maps i think :thup:
 

duderock101

Check out my 2 Player Co-op RPG!
Reaction score
71
Yer, i've made a dueling system before - i'll post up the triggers in a small while :)

Okey, this dueling system was made with 2 people in mind, u'll have to tweak it to suit ur purposes.

Trigger:
  • Dueling Request
    • Events
      • Player - Player 1 (Red) types a chat message containing -Duel as An exact match
      • Player - Player 2 (Blue) types a chat message containing -Duel as An exact match
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Main Camera Bounds <gen> contains Main_Character[(Player number of (Triggering player))]) Equal to True
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Dueling_Request[1] Equal to False
              • Dueling_Request[2] Equal to False
            • Then - Actions
              • Set Dueling_Request[(Player number of (Triggering player))] = True
              • Game - Display to (All players) the text: ((Name of (Triggering player)) + asked to duel the other player!)
            • Else - Actions
              • Trigger - Turn off (This trigger)
              • Trigger - Turn off Hero Die <gen>
              • Trigger - Turn on Dueling Die <gen>
              • Trigger - Turn off Anti Team Kill <gen>
              • Player - Make Player 1 (Red) treat Player 2 (Blue) as an Enemy
              • Player - Make Player 2 (Blue) treat Player 1 (Red) as an Enemy
              • Hero - Disable experience gain for Main_Character[1]
              • Hero - Disable experience gain for Main_Character[2]
              • Game - Display to (All players) the text: ((Name of (Triggering player)) + accepted the request! You have 5 seconds to get ready before the duel will start!)
              • Set Dueling_Request[1] = False
              • Set Dueling_Request[2] = False
              • Unit - Pause Main_Character[1]
              • Unit - Pause Main_Character[2]
              • Set Hero_Position[1] = (Position of Main_Character[1])
              • Set Hero_Position[2] = (Position of Main_Character[2])
              • Wait 0.10 seconds
              • Unit - Set life of Main_Character[1] to 100.00%
              • Unit - Set life of Main_Character[2] to 100.00%
              • Unit - Set mana of Main_Character[1] to 100.00%
              • Unit - Set mana of Main_Character[2] to 100.00%
              • Wait 0.10 seconds
              • Unit - Move Main_Character[1] instantly to (Center of Duel Player 1 <gen>)
              • Camera - Set the camera bounds for Player 1 (Red) to Dueling Area <gen>
              • Unit - Move Main_Character[2] instantly to (Center of Duel Player 2 <gen>)
              • Camera - Set the camera bounds for Player 2 (Blue) to Dueling Area <gen>
              • Wait 1.80 seconds
              • 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 0.90 seconds
              • Unit - Unpause Main_Character[1]
              • Unit - Unpause Main_Character[2]
              • Game - Display to (All players) the text: Fight!
        • Else - Actions
          • Game - Display to (Player group((Triggering player))) the text: You must be in main...


Main_Character [1] and [2] are a unit variable for both of the players heros. [1] is player 1 and the other is player 2

Trigger:
  • Dueling Die
    • Events
      • Unit - A unit owned by Player 1 (Red) Dies
      • Unit - A unit owned by Player 2 (Blue) Dies
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Dying unit) Equal to Main_Character[1]
          • (Dying unit) Equal to Main_Character[2]
    • Actions
      • Wait 2.00 seconds
      • Trigger - Turn off (This trigger)
      • Trigger - Turn on Hero Die <gen>
      • Trigger - Turn on Anti Team Kill <gen>
      • Trigger - Run Alliance <gen> (ignoring conditions)
      • Hero - Enable experience gain for Main_Character[1]
      • Hero - Enable experience gain for Main_Character[2]
      • Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally with shared vision
      • Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally with shared vision
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Dying unit) Equal to Main_Character[1]
        • Then - Actions
          • Quest - Display to (All players) the Hint message: (The victor is + (Name of Player 2 (Blue)))
          • Hero - Instantly revive Main_Character[1] at Hero_Position[1], Hide revival graphics
          • Unit - Move Main_Character[2] instantly to Hero_Position[2]
          • Unit - Set life of Main_Character[1] to 100.00%
          • Unit - Set life of Main_Character[2] to 100.00%
          • Unit - Set mana of Main_Character[1] to 100.00%
          • Unit - Set mana of Main_Character[2] to 100.00%
          • Camera - Set the camera bounds for Player 1 (Red) to Main Camera Bounds <gen>
          • Camera - Set the camera bounds for Player 2 (Blue) to Main Camera Bounds <gen>
          • Wait 0.10 seconds
          • Camera - Lock camera target for Player 1 (Red) to Main_Character[1], offset by (0.00, 0.00) using Default rotation
          • Camera - Lock camera target for Player 2 (Blue) to Main_Character[2], offset by (0.00, 0.00) using Default rotation
          • Wait 0.10 seconds
          • Camera - Reset camera for Player 1 (Red) to standard game-view over 0.00 seconds
          • Camera - Reset camera for Player 2 (Blue) to standard game-view over 0.00 seconds
          • Trigger - Turn on Dueling Request <gen>
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Dying unit) Equal to Main_Character[2]
            • Then - Actions
              • Quest - Display to (All players) the Hint message: (The victor is + (Name of Player 1 (Red)))
              • Hero - Instantly revive Main_Character[2] at Hero_Position[2], Hide revival graphics
              • Unit - Move Main_Character[1] instantly to Hero_Position[1]
              • Unit - Set life of Main_Character[1] to 100.00%
              • Unit - Set life of Main_Character[2] to 100.00%
              • Unit - Set mana of Main_Character[1] to 100.00%
              • Unit - Set mana of Main_Character[2] to 100.00%
              • Camera - Set the camera bounds for Player 1 (Red) to Main Camera Bounds <gen>
              • Camera - Set the camera bounds for Player 2 (Blue) to Main Camera Bounds <gen>
              • Wait 0.10 seconds
              • Camera - Lock camera target for Player 1 (Red) to Main_Character[1], offset by (0.00, 0.00) using Default rotation
              • Camera - Lock camera target for Player 2 (Blue) to Main_Character[2], offset by (0.00, 0.00) using Default rotation
              • Wait 0.10 seconds
              • Camera - Reset camera for Player 1 (Red) to standard game-view over 0.00 seconds
              • Camera - Reset camera for Player 2 (Blue) to standard game-view over 0.00 seconds
              • Trigger - Turn on Dueling Request <gen>
            • Else - Actions


Of course, they wont suit your needs exactly, so you'll have to tweak them :) but that should give u a good enough starting point!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top