PDA

View Full Version : Help with Variable Conditional and LUA code



davidsetton
February 24th, 2008, 07:50 AM
I have an action that I would like to trigger in Girder only if the following is true:

1) MP.ShuffleState is "on" AND/OR
2) MP.ContinuousState is "on" AND/OR
3) MP.EQonState is "on"


Thanks,

David

davidsetton
February 27th, 2008, 12:20 PM
I have an action that I would like to trigger in Girder only if the following is true:

1) MP.ShuffleState is "on" AND/OR
2) MP.ContinuousState is "on" AND/OR
3) MP.EQonState is "on"


Thanks,

David

Could someone help me with this?

Rob H
February 27th, 2008, 12:32 PM
Um - those look like NetRemote variables rather than Girder variables. Should this be in the NetRemote section?

davidsetton
February 27th, 2008, 01:59 PM
Um - those look like NetRemote variables rather than Girder variables. Should this be in the NetRemote section?

The action that I am triggering in Girder will "Set a Variable" in Netremote.

Rob H
February 27th, 2008, 03:07 PM
Yes, but the MP.* variables come from Mediabridge and appear in NetRemote. I'm not sure I understand what you're asking.

davidsetton
February 27th, 2008, 04:57 PM
Yes, but the MP.* variables come from Mediabridge and appear in NetRemote. I'm not sure I understand what you're asking.

I am probably going about it the wrong way. Maybe it is not possible. What I ultimately want to do is control the state of a button in Netremote based on the state of my EQ, Shuffle, and Continuous. You tried to help me in this thread:

http://www.promixis.com/forums/showthread.php?t=18096

The Lua code you gave me did not work.

David

Rob H
February 28th, 2008, 02:16 AM
I've commented in the other thread. If it doesn't work or gives an error message then tell me what the error is and I'll try to fix it.