- Joined
- Mar 16, 2008
- Messages
- 1,010
I made this trigger, it seems to work in 1-player tests but live it seems to select option 1 every time? Anyone have any input? Pretty much it compares the integer of the results [1] with math-max of [2] and [3]...
-
Vote Item Results
-

Events
-


Time - Elapsed game time is 30.00 seconds
-
-

Conditions
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




ItemDrop_VoteTally[1] Greater than or equal to (Max(ItemDrop_VoteTally[2], ItemDrop_VoteTally[ItemDrop_VoteTally[3]]))
-
-



Then - Actions
-




Quest - Display to (All players) the Quest Update message: |cffff0000Vote resu...
-




Trigger - Run Warn Items Drop on Death <gen> (ignoring conditions)
-




Wait 2.00 seconds
-




Trigger - Turn off Warn Items Drop on Death <gen>
-




Skip remaining actions
-
-



Else - Actions
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




ItemDrop_VoteTally[2] Greater than or equal to (Max(ItemDrop_VoteTally[1], ItemDrop_VoteTally[ItemDrop_VoteTally[3]]))
-
-



Then - Actions
-




Quest - Display to (All players) the Quest Update message: |cffff0000Vote resu...
-




Skip remaining actions
-
-



Else - Actions
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




ItemDrop_VoteTally[3] Greater than or equal to (Max(ItemDrop_VoteTally[1], ItemDrop_VoteTally[ItemDrop_VoteTally[2]]))
-
-



Then - Actions
-




Quest - Display to (All players) the Quest Update message: |cffff0000Vote resu...
-




Trigger - Turn off Warn Items Drop on Death <gen>
-




Skip remaining actions
-
-



Else - Actions
-
-


Dialog - Hide ItemDrop_Dialog for Player 1 (Red)
-


Dialog - Hide ItemDrop_Dialog for Player 2 (Blue)
-


Dialog - Hide ItemDrop_Dialog for Player 3 (Teal)
-


Dialog - Hide ItemDrop_Dialog for Player 4 (Purple)
-


Dialog - Hide ItemDrop_Dialog for Player 5 (Yellow)
-


Dialog - Hide ItemDrop_Dialog for Player 6 (Orange)
-


Dialog - Hide ItemDrop_Dialog for Player 7 (Green)
-


Dialog - Hide ItemDrop_Dialog for Player 8 (Pink)
-


Dialog - Hide ItemDrop_Dialog for Player 9 (Gray)
-


Dialog - Hide ItemDrop_Dialog for Player 10 (Light Blue)
-


Dialog - Hide ItemDrop_Dialog for Player 11 (Dark Green)
-


Dialog - Hide ItemDrop_Dialog for Player 12 (Brown)
-


Dialog - Hide ItemDrop_Dialog for Player 17 (Wheat)
-


Dialog - Hide ItemDrop_Dialog for Player 18 (Peach)
-


Dialog - Hide ItemDrop_Dialog for Player 19 (Mint)
-


Dialog - Hide ItemDrop_Dialog for Player 20 (Lavender)
-
-
