This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
dictionary:unitinformation:thisunit [2017/10/15 16:07] James Sentman |
dictionary:unitinformation:thisunit [2020/05/21 13:37] James Sentman [This Unit] added link to Script Error Alert |
||
---|---|---|---|
Line 3: | Line 3: | ||
in a Unit ON or OFF script this will be set to the name of the unit. If you need to reference the parent unit in it's scripts this will save you having to edit scripts all over the place if you want to change unit names in the future. | in a Unit ON or OFF script this will be set to the name of the unit. If you need to reference the parent unit in it's scripts this will save you having to edit scripts all over the place if you want to change unit names in the future. | ||
+ | If an error occurs in a Unit’s on or off script then the value will also be set in the [[dictionary:errors:index|Script Error Alert]] script so that you can alert or log more information about a potential scripting error. | ||
===Usage:=== | ===Usage:=== | ||
**thisUnit**\\ | **thisUnit**\\ |