Fire and Stop a Clip or scene with the same button

2.58K viewsCSS Community Scriptscss script
1

Im trying to fire (play) a highlighted clip or scene and be able to stop it using the same button. using a MF Twister

I can get it to fire using this reaction

Listener>button XX was pressed

Action block 1

Condition>Clip is triggered>(bool) is equal to false (highlighted clip)

Action> clip-Fire

Action Block 2

Condition>Clip is triggered>(bool) is equal to True (highlighted clip)

Action>Clip-stop (highlighted clip)

It plays but won’t stop

Scenes are the same

Hellem Answered question
0

I think “clip is triggered” means that you clicked the play button of the clip with the mouse. “clip is playing” might be what you need.

Also, add an Action to Action Block 1 to “Exit the Reaction” after the clip is fired. You can find it in “Script” section of the Action’s menu. If you don’t do this then Action Block 2 will immediately stop the clip that you just fired up.

Glenn V. Answered question
You are viewing 1 out of 3 answers, click here to view all answers.