This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dictionary:unitinformation:getunitproperty [2009/09/28 21:43] 127.0.0.1 external edit |
dictionary:unitinformation:getunitproperty [2018/01/15 15:04] (current) James Sentman [See Also:] |
||
---|---|---|---|
Line 4: | Line 4: | ||
===Usage:=== | ===Usage:=== | ||
**get unit property** (text, key name of the property)\\ | **get unit property** (text, key name of the property)\\ | ||
- | **from unit** (text, the name of the unit)\\ | + | **from unit** (text, the name of the unit. defaults to [[dictionary:unitinformation:thisunit|thisUnit]])\\ |
returns whatever object was stored under that key for that unit, or nothing. | returns whatever object was stored under that key for that unit, or nothing. | ||
Line 13: | Line 13: | ||
</code> | </code> | ||
- | ===Notes:=== | + | ===See Also:=== |
- | * **from unit** is optional if the script is an ON or OFF script for a unit in which case it will try to use the [[thisunit|thisUnit]] value. | + | * [[:manual:unitproperties|Unit Properties]] |
- | * see also [[setunitproperty|set unit property]] | + | * [[setunitproperty|set unit property]] |
- | * see also [[:manual:unitproperties|Unit Properties]] | + | * [[removeunitproperty|remove unit property]] |
+ | * [[unitpropertynamesfrom|unit property names from]] |