Cinematics skipable?

vexoh

Member
Reaction score
0
I made a Cinematic on my Map, and i wanted a sort of Vote system to skip the cinematic, Like... if 4/6 (6 is max players in my map) players typed -skip The cinematic would skip, Or mabey a box that pops up with skip and watch buttons in them..
How can i do this? Or even just the Host typing -skip how would i set this trigger?

(Also when the cinematic starts and the Writing from Units appear, The Text is skippable, i dont want players to skip the written thing from the unit in the cinematic, how can i prevent them from clicking esc and skipping them?)
 

MP®

Member
Reaction score
11
I don't know much about cinematics, but the normal button to skip a cinematic is the escape button, you can also track when a player pushes this button. I think (not sure) that normally all players have to push that button before a cinematic skips.

In that case, you should make a trigger with the events: Player 1 skips a cinematic, Player 2 skips (...) for each player an event.
Then make an integer variable with array of 6 (if player 1 t/m 6 are in game) with initial value of 0. Make an action like:

If: Integervariable[Number of (triggering player)] equals to 0, then:
Set Integervariable[Number of (triggering player)] = 1

Then another action like:
If: (Integervariable[1] + Integervariable[2] + (... until [6]) ) is greater than or equal to ((Number of players in (All players controlled by a User player)) * 0.66)
then: skip cinematic
 

Inflicted

Currently inactive
Reaction score
63
You are looking for this trigger:
Player - Player 1 (Red) types a chat message containing -skip as An exact match

For boxes, you need to look at Dialog Boxes and Dialog Buttons.

For turning off the other trigger simply have a trigger like the example below:

Events
Player - Player 1 (Red) types a chat message containing -skip as An exact match
Conditions
Actions
Turn off Cinematics Trigger

About your final question, I'm not entirely sure. Look for disabling control in Cinematics or something similar to that.
 

MP®

Member
Reaction score
11
Oh lol I didn't read the last part of the first post :p sorry 'bout that
 

Molehole

New Member
Reaction score
2
I have a solution I use in my map for skipping cutscenes. It's bit similar as MP's

Firstly create a variable "Vote_skip" or what do you want to name it. Set it as an integer.

Do triggers for each players like this (I don't remember exactly how the triggers go but surely you get an idea)

events
"player 1 types -skip as an exact match"
actions
"turn off (this trigger)
"set voteskip = voteskip + 1"

then when your having the cutscene

Event
The event you want
- blah blah blah, what you want the cutscene to be -
"Run next trigger"

You want to create another integrer "Player_amount" and set it to "amount of players matching condition (find condition that chooses all playing players.) and add condition
"integrer: Vote_skip is greater than 0,65*Player_amount"
next trigger

Then for the other trigger
"vote_skip is lesser than 0,65*Player_amount"
Event:
Play cinematic
next trigger
 

Inflicted

Currently inactive
Reaction score
63
events
"player 1 types -skip as an exact match"
actions
"turn off (this trigger)
"set voteskip = voteskip + 1"

Don't turn it off until the time runs out. That way you can add all the events of each player to one trigger.

But yes that's the general idea.
 

vexoh

Member
Reaction score
0
But the Trigger has other things aswell as the cinematics, The Opening cinematic Shows a battle so theirs many Units and i put actions to remove them in the same trigger at the right time..so i cant really set the action to disable trigger otherwise the units will still be their :(
 

Molehole

New Member
Reaction score
2
Then you must duplicate the necessary events to additional trigger and if the cutscene is skipped play that trigger instead of the cinematic trigger.
 

xtian07

Member
Reaction score
2
But the Trigger has other things aswell as the cinematics, The Opening cinematic Shows a battle so theirs many Units and i put actions to remove them in the same trigger at the right time..so i cant really set the action to disable trigger otherwise the units will still be their :(

Well, you can always use this two triggers to avoid that problem :)
Trigger:
  • Actions
    • Trigger - Turn on Untitled Trigger 001 <gen>
    • Trigger - Turn off Untitled Trigger 001 <gen>
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top