« Back to Product

Documentation

IPS_SetEventTriggerValue

 boolean IPS_SetEventTriggerValue (int $EventID, variant $TriggerValue) 

Parameters

EventID

ID of the event to be changed

TriggerValue

Value/ type, depending on TriggerVariableID

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Indicates the value/threshold at which the event should be run.

The TriggerType of the event must be set to:

  • On limit drop
  • On limit exceed
  • On value
Warning

The limit must be specified as the correct type. Otherwise the comparison may fail or be triggered unexpectedly.

Example

IPS_SetEventTriggerValue($EventID, true); //Trigger only for​​ TRUE values
Any questions?