« Back to Product

Documentation

LCN_SaveScene

 boolean LCN_SaveScene (int $InstanceID, int $Scene) 

Parameters

InstanceID

ID of the output to be switched

Scene

Which scene to save in (0..9, 15)

Returns

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

Description

Stores scene Scene for the outlet with ID InstanceID.

Warning

If the special value 15 is specified as the scene, the value is taken from the counter Tvar/Var1

Example

// Saves scene 5 of the exit with ID 12345
LCN_SaveScene(12345, 5);
Any questions?