Jump to content

**SOLVED** Combined Trigger Events in DOF


jwkramer61

Recommended Posts

The pinscape guide indicates that it is possible to combine 2 triggers for an effect in DOF by using parenthesis & logical commands. For example:

(W10 And L7) {some event} ->> When Switch 10 is active and Lamp 7 is Lit, perform {some event}.

 

I am not having any luck getting that to work.

Is this how you accomplish that, or am I reading something incorrectly?

 

Thanks!

Link to comment
Share on other sites

  • jwkramer61 changed the title to **SOLVED** Combined Trigger Events in DOF

I figured this out for myself, thought I would leave the info here for future reference...

 

The config parser will not understand "implied true" (W10 and L7) implies W10=1 and L7=1.

You must use the longhand version: (W10 = 1 and L7 = 1)

NOTE: the spaces must be there or the parser won't figure it out.

 

Using this method, it is possible to define complex Table Variables for use in the effects lines.

 

IE:

EventName=(W6 = 1 or W14 = 1) and L8 = 0

(EventName is TRUE whenever Lamp #8 is OFF and either Switch #6 or Switch #14 is triggered)

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...