• 🏆 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] NEED HELP! Dialog Bug!!

Status
Not open for further replies.
Level 18
Joined
Oct 18, 2007
Messages
930
Ok here is the deal, i have made a camera system for my Ultimate LTW right, and it works Fine but, only on player 1!
why does this happen??
Triggers
  • Camera 1
    • Events
      • Player - Player 1 (Red) types a chat message containing -camera as An exact match
      • Player - Player 2 (Blue) types a chat message containing -camera as An exact match
      • Player - Player 3 (Teal) types a chat message containing -camera as An exact match
      • Player - Player 4 (Purple) types a chat message containing -camera as An exact match
      • Player - Player 5 (Yellow) types a chat message containing -camera as An exact match
      • Player - Player 6 (Orange) types a chat message containing -camera as An exact match
      • Player - Player 7 (Green) types a chat message containing -camera as An exact match
      • Player - Player 8 (Pink) types a chat message containing -camera as An exact match
      • Player - Player 9 (Gray) types a chat message containing -camera as An exact match
      • Player - Player 10 (Light Blue) types a chat message containing -camera as An exact match
      • Player - Player 11 (Dark Green) types a chat message containing -camera as An exact match
    • Conditions
    • Actions
      • Set DialogNumber = (Player number of (Triggering player))
      • Dialog - Clear Dialog[DialogNumber]
      • Dialog - Change the title of Dialog[DialogNumber] to Set Camera Distance
      • Dialog - Create a dialog button for Dialog[DialogNumber] labelled Default Distance
      • Set DialogButton0[DialogNumber] = (Last created dialog Button)
      • Dialog - Create a dialog button for Dialog[DialogNumber] labelled Medium Distance
      • Set DialogButton1[DialogNumber] = (Last created dialog Button)
      • Dialog - Create a dialog button for Dialog[DialogNumber] labelled Far Away Distance
      • Set DialogButton2[DialogNumber] = (Last created dialog Button)
      • Dialog - Show Dialog[DialogNumber] for (Player(DialogNumber))
  • Camera Dialog 1
    • Events
      • Dialog - A dialog button is clicked for Dialog[1]
      • Dialog - A dialog button is clicked for Dialog[2]
      • Dialog - A dialog button is clicked for Dialog[3]
      • Dialog - A dialog button is clicked for Dialog[4]
      • Dialog - A dialog button is clicked for Dialog[5]
      • Dialog - A dialog button is clicked for Dialog[6]
      • Dialog - A dialog button is clicked for Dialog[7]
      • Dialog - A dialog button is clicked for Dialog[8]
      • Dialog - A dialog button is clicked for Dialog[9]
      • Dialog - A dialog button is clicked for Dialog[10]
      • Dialog - A dialog button is clicked for Dialog[11]
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 11, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Clicked dialog button) Equal to DialogButton0[(Integer A)]
            • Then - Actions
              • Camera - Reset camera for (Player((Integer A))) to standard game-view over 0.70 seconds
              • Player Group - Remove (Player((Integer A))) from Users
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Clicked dialog button) Equal to DialogButton1[(Integer A)]
                • Then - Actions
                  • Set Camera_Distance[(Integer A)] = 2000.00
                  • Player Group - Add (Player((Integer A))) to Users
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Clicked dialog button) Equal to DialogButton2[(Integer A)]
                    • Then - Actions
                      • Set Camera_Distance[(Integer A)] = 2700.00
                      • Player Group - Add (Player((Integer A))) to Users
                    • Else - Actions
  • Camera Loop
    • Events
      • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 11, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Player((Integer A))) is in Users) Equal to True
            • Then - Actions
              • Camera - Set (Player((Integer A)))'s camera Distance to target to Camera_Distance[(Integer A)] over 0.10 seconds
            • Else - Actions
Why the heck does it only show up on player 1?? and not player 2 - 11?! someone please tell me if it is something like only player 1 can do dialogs!
 
Status
Not open for further replies.
Top