VaM 1.x Plugin to only trigger X if Y is happening

Threads regarding the original VaM 1.x

BritishScenes

Active member
Joined
Oct 3, 2024
Messages
55
Solutions
1
Reactions
132
Hi all,

I'm looking for a plugin that can meet the following conditions:

If 'Scene 1' segment playing

'Example Trigger' only triggers if scene 1 segment is playing for example if 'scene 2' segment is playing and 'example trigger' is triggered then it won't do anything because 'scene 1' segment is playing.

I hope that makes sense, hard to type what I mean, conditional actions plugin isn't able to achieve this but is a good plugin none the less

Thanks all
 
If I understand you correctly, you can do that with existing plugins.
Options of the top of my head:
  1. "Enabled" checkbox in logibricks relay or one time relay (some name like that)
    • If you have a trigger somewhere to start segment 1, uncheck "enabled" for whatever thing you don't want to happen
    • Reset by checking "enabled" when playing some other segment
  2. Using gates in vamstory (director) plugin
    • Similar to the purpose above, set gate active in the vamstory action to trigger whatever is in the gate triggers, set inactive to skip the gate triggers
I'm sure there's other options, but the above already are sufficient to get things happening.
 
To clarify what atani says :

There's no way to know the state of Timeline. So you need to rely on other plugins to set "states" (before playback) that you will check / trigger yourself. And then change state when playback / animation / whatever changes.
 
Thanks both for your replies it is much appreciated, I will go and learn these new methods
 
Agreed with what Hazm has said, and I'd point you to LogicBricks.

Starting an animation, you can set the "AcceptTrigger" to True on a 'Relay' instance/plugin. Then when you 'Trigger' that instance later, you're essentially saying:

Code:
if AcceptTrigger == true
{
do actions
}
 
Back
Top Bottom