- Joined
- May 11, 2012
- Messages
- 2,108
hello hivers, need help in this xD
In this trigger, I made when a button is clicked, the trigger sets the variable OpenedGates_Variable to be the integer number 2
OpenWave[1] to be OpenedGates_Variable + 1
Example: Typing -ow. The Variable OpenWave[1] is now integer number 3 and the trigger number 3 will turn on. I want everytime when I type -ow, for OpenWave[1] variable to stay (OpenedGates_Variable + 1) and goes again +1
Just tell me and I will try to explain you more
, i need this asap if possible
In this trigger, I made when a button is clicked, the trigger sets the variable OpenedGates_Variable to be the integer number 2
-
Set Open Wave
-
Events
-
Dialog - A dialog button is clicked for Dialog[2]
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to Dialog_Button[1]
-
-
Then - Actions
-
Set OpenedGates_Variable = (OpenedGates_Variable + 2)
-
-
Else - Actions
-
-
-
OpenWave[1] to be OpenedGates_Variable + 1
-
Open Wave
-
Events
-
Player - Player 1 (Red) types a chat message containing -ow as An exact match
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
OpenedGates_Variable Equal to 2
-
-
Then - Actions
-
Set OpenWave[1] = (OpenedGates_Variable + 1)
-
Trigger - Add to HumanWaves[OpenWave[1]] the event (Time - Elapsed game time is 25.00 seconds)
-
Trigger - Turn on HumanWaves[OpenWave[1]]
-
Game - Display to (All players) the text: (Way + ((String(OpenWave[1])) + is Opened!))
-
-
Else - Actions
-
-
-
Example: Typing -ow. The Variable OpenWave[1] is now integer number 3 and the trigger number 3 will turn on. I want everytime when I type -ow, for OpenWave[1] variable to stay (OpenedGates_Variable + 1) and goes again +1
Just tell me and I will try to explain you more