boolean IPS_SetEventTrigger (int $EventID, int $TriggerVariableID)
EventID | ID of the event to be changed |
TriggerVariableID | VariableID on whose change or update should be responded |
If the command succeeds, it returns TRUE, otherwise FALSE.
This command configures a triggering event. It defines the observed variable TriggerVariableID and which TriggerType the event should react to.
IPS_SetEventTrigger($EventID, 0, 12345); //OnUpdate for variable 12345