| 01-11-2003, 06:53 PM | #1 |
Guest | Hiyall! I hope I'm not re-asking a question, which i'm sure I am, but I can't find the answer here, and I have fiddled with the UMWE a lot but i cant figure it out! How do you skip a cinematic with the escape key? I noticed the event Player Skips Cinematic Sequence, but wath should be in the Events? I have tried destroying the trigger which plays the cinematic, resetting it, turning it off, remove from trigger queue, clear trigger queue, resetting the game camera, Trigger-Clear Actions and even using if/then/else in the cinematic trigger, like way at the top : If (PlayerSkipsCinematic) then Skip remaining actions else Do Nothing I have used a dialog in my first level asking to skip the opening cinematic, but it's not a very elegant solution to do every time I want to cycle trough some camaeras and sending cinematic messages... Please help! |
| 01-11-2003, 07:11 PM | #2 |
Guest | Here, put this line of code after every important thing in the cinematic. IE: Texts. If (PlayerSkipsCinematic) then Skip remaining actions else Do Nothing Here is a sample: If (PlayerSkipsCinematic) then Skip remaining actions else Do Nothing Cinematic: Do a conversation from: Bob0014 named Bob with the text: Hello Heroes. If (PlayerSkipsCinematic) then Skip remaining actions else Do Nothing Cinematic: Do a conversation from: Charles0015 named Charles with the text: Yo bob. If (PlayerSkipsCinematic) then Skip remaining actions else Do Nothing |
| 01-12-2003, 09:16 AM | #3 |
Guest | Thanks! Guess that will work... not the most elegant solution, it will make my triggers a lot longer, oh wel!! Thanks! |
| 01-13-2003, 01:45 AM | #4 |
It gates slightly worse, say in a cinematic you did something, for example destroying an invincable gate, well if the cinematic is skipped. You will have to come up with a method to preform these skipped actions. |
| 01-13-2003, 02:00 AM | #5 |
All right, here's the true solution... BUT BE WARNED: it is a pain in the *** that hurts so much that I do not have the patience to do it in my maps! You create a Boolean Variable, "Cinematics" for example, and set it to start as "False" Now, at the beginning of the cinematic, set Cinematics to be TRUE. Now, for EVERY single action of the cinematic, do: If Cinematics equal to True Then <Action> Else <alternate action> The alternate action is for skipped cinematic. If the main action if "Transmission", for example, you now will do nothing. If the main is "give order to move", the alternate is "move instantly and face angle". And so on. THe important is that the alternate accomplishes instantly what the main should do. Now you got a long trigger full of "If"s. All right, the hard part is done. Now the easy. Create a trigger as follows: Event: Player Skips Cinematics Condition: Cinematics equal to True Action: Set Cinematics to False You got it! THe cinematic will be skipped! |
| 01-13-2003, 10:23 AM | #6 |
Guest | Allright! I guess that is way better! I noticed the part about the actions that got skipped too, because in the end of one of my cinematics i call another trigger to reset the view to focus on your hero, but it got skipped too! Well Thanks Deiced! Smart Thinking! |
