- Joined
- Apr 16, 2007
- Messages
- 262
Hey Guys!!!
I'm making a cinematic, and have encountered a very annoying problem with the triggers. I am trying to turn off a trigger when I press the escape key, so it does not fire the remaining actions in it.
Here is my current code...
Could somebody tell me how to make the trigger stop working as soon as I press the escape key (the boolean becomes true when the escape key is pressed)... Thanks!!!
I'm making a cinematic, and have encountered a very annoying problem with the triggers. I am trying to turn off a trigger when I press the escape key, so it does not fire the remaining actions in it.
Here is my current code...
Could somebody tell me how to make the trigger stop working as soon as I press the escape key (the boolean becomes true when the escape key is pressed)... Thanks!!!
-
Introduction Talk
-
Events
- Time - Every 0.01 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- skipcine Equal to False
-
Then - Actions
- Wait (Random real number between 5.00 and 10.00) seconds
- Animation - Lock Blood Elf Lieutenant 0010 <gen>'s Head to face Blood Elf Lieutenant 0009 <gen>, offset by (0.00, 0.00, 90.00)
- Cinematic - Send transmission to (All players) from Blood Elf Lieutenant 0010 <gen> named Guard: Play No sound and display SoldierTalkRandomString1. Modify duration: Set to 3.00 seconds and Wait
- Animation - Reset Blood Elf Lieutenant 0010 <gen>'s body-part facing
- Sound - Play GarithosYes3 <gen> at 100.00% volume, attached to Blood Elf Lieutenant 0009 <gen>
- Cinematic - Send transmission to (All players) from Blood Elf Lieutenant 0009 <gen> named Guard: Play No sound and display Suits my Purposes...... Modify duration: Set to 3.00 seconds and Wait
- Wait (Random real number between 5.00 and 10.00) seconds
- Animation - Lock Blood Elf Lieutenant 0010 <gen>'s Head to face Blood Elf Lieutenant 0009 <gen>, offset by (0.00, 0.00, 90.00)
- Cinematic - Send transmission to (All players) from Blood Elf Lieutenant 0010 <gen> named Guard: Play No sound and display SoldierTalkRandomString2. Modify duration: Set to 3.00 seconds and Wait
- Animation - Reset Blood Elf Lieutenant 0010 <gen>'s body-part facing
- Sound - Play GarithosYes1 <gen> at 100.00% volume, attached to Blood Elf Lieutenant 0009 <gen>
- Cinematic - Send transmission to (All players) from Blood Elf Lieutenant 0009 <gen> named Guard: Play No sound and display Its about time!. Modify duration: Set to 3.00 seconds and Wait
- Wait (Random real number between 5.00 and 10.00) seconds
- Animation - Lock Blood Elf Lieutenant 0010 <gen>'s Head to face Blood Elf Lieutenant 0009 <gen>, offset by (0.00, 0.00, 90.00)
- Cinematic - Send transmission to (All players) from Blood Elf Lieutenant 0010 <gen> named Guard: Play No sound and display SoldierTalkRandomString3. Modify duration: Set to 3.00 seconds and Wait
- Animation - Reset Blood Elf Lieutenant 0010 <gen>'s body-part facing
- Sound - Play GarithosYes4 <gen> at 100.00% volume, attached to Blood Elf Lieutenant 0009 <gen>
- Cinematic - Send transmission to (All players) from Blood Elf Lieutenant 0009 <gen> named Guard: Play No sound and display RIght..... Modify duration: Set to 3.00 seconds and Wait
- Wait (Random real number between 5.00 and 10.00) seconds
- Animation - Lock Blood Elf Lieutenant 0010 <gen>'s Head to face Blood Elf Lieutenant 0009 <gen>, offset by (0.00, 0.00, 90.00)
- Cinematic - Send transmission to (All players) from Blood Elf Lieutenant 0010 <gen> named Guard: Play No sound and display SoldierTalkRandomString4. Modify duration: Set to 3.00 seconds and Wait
- Animation - Reset Blood Elf Lieutenant 0010 <gen>'s body-part facing
- Sound - Play GarithosYes4 <gen> at 100.00% volume, attached to Blood Elf Lieutenant 0009 <gen>
- Cinematic - Send transmission to (All players) from Blood Elf Lieutenant 0009 <gen> named Guard: Play No sound and display RIght..... Modify duration: Set to 3.00 seconds and Wait
- Wait (Random real number between 5.00 and 10.00) seconds
- Animation - Play Blood Elf Lieutenant 0009 <gen>'s stand 2 animation
- Unit - Create 1 Disease Cloud for Neutral Passive at ((Position of Blood Elf Lieutenant 0009 <gen>) offset by (0.00, -40.00)) facing (Facing of Blood Elf Lieutenant 0009 <gen>) degrees
- Set Fart = (Last created unit)
- Sound - Play OgrePissed5 <gen> at 100.00% volume, attached to Blood Elf Lieutenant 0009 <gen>
- Wait 0.75 seconds
- Sound - Stop OgrePissed5 <gen> Immediately
- Unit - Remove Fart from the game
- Animation - Lock Blood Elf Lieutenant 0010 <gen>'s Head to face Blood Elf Lieutenant 0009 <gen>, offset by (0.00, 0.00, 90.00)
- Cinematic - Send transmission to (All players) from Blood Elf Lieutenant 0010 <gen> named Guard: Play No sound and display You disgusting man!!. Modify duration: Set to 3.00 seconds and Wait
- Animation - Reset Blood Elf Lieutenant 0010 <gen>'s body-part facing
- Animation - Play Blood Elf Lieutenant 0009 <gen>'s stand 2 animation
- Unit - Create 1 Disease Cloud for Neutral Passive at ((Position of Blood Elf Lieutenant 0009 <gen>) offset by (0.00, -40.00)) facing (Facing of Blood Elf Lieutenant 0009 <gen>) degrees
- Set Fart = (Last created unit)
- Sound - Play OgrePissed5 <gen> at 100.00% volume, attached to Blood Elf Lieutenant 0009 <gen>
- Wait 0.75 seconds
- Sound - Stop OgrePissed5 <gen> Immediately
- Unit - Remove Fart from the game
- Animation - Lock Blood Elf Lieutenant 0010 <gen>'s Head to face Blood Elf Lieutenant 0009 <gen>, offset by (0.00, 0.00, 90.00)
- Cinematic - Send transmission to (All players) from Blood Elf Lieutenant 0010 <gen> named Guard: Play No sound and display Ok, thats it!!!. Modify duration: Set to 3.00 seconds and Don't wait
- Wait 2.50 seconds
- Animation - Reset Blood Elf Lieutenant 0010 <gen>'s body-part facing
- Unit - Create 1 Disease Cloud for Neutral Passive at ((Position of Blood Elf Lieutenant 0010 <gen>) offset by (0.00, -40.00)) facing (Facing of Blood Elf Lieutenant 0010 <gen>) degrees
- Set Fart = (Last created unit)
- Sound - Play OgrePissed5 <gen> at 100.00% volume, attached to Blood Elf Lieutenant 0010 <gen>
- Wait 0.75 seconds
- Sound - Stop OgrePissed5 <gen> Immediately
- Unit - Remove Fart from the game
-
Else - Actions
- Skip remaining actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events