Set Value Of

Set the value of a unit as a counter.

Usage:

set value of (name of pseudo unit)

Optional Parameters:

to (number, any real number. 10, 4.5, 0.567, -5.23)
by (number, any real number to add to existing value. 5, -45, 3.1415, -9.3)
with no script (stops the executing of the script)

Examples:

--increment a counter
set value of "Inside Motion Count" by 1

Notes:

Setting the value to 0 will execute the OFF script, if any. Setting the value to a non-zero value will run the ON script if any.

You can use this verb to dim a real unit, but the values are limited to integers between 0 and 100 then.

dictionary/unitinformation/setvalueof.txt · Last modified: 2009/09/27 15:19 by James Sentman
CC Attribution-No Derivative Works 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0