setLibProperty: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:setLibProperty moved to setLibProperty) |
Verisimilar (talk | contribs) m (Added version.) |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=setLibProperty | |name=setLibProperty | ||
|version=1.3b48 | |||
|description | |description | ||
Sets the [[Token:token_property|Token Property]] on a [[Token:library_token|Library Token]]. if the name of the [[Token:library_token|Library Token]] is not specified then the [[Token:token_property|Token Property]] is set on the [[Token:library_token|Library Token]] that the macro is running from. | Sets the [[Token:token_property|Token Property]] on a [[Token:library_token|Library Token]]. if the name of the [[Token:library_token|Library Token]] is not specified then the [[Token:token_property|Token Property]] is set on the [[Token:library_token|Library Token]] that the macro is running from. | ||
Line 6: | Line 7: | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
setLibProperty(name, value) | |||
setLibProperty(name, value, libName) | |||
</source> | </source> | ||
Revision as of 13:36, 10 March 2009
setLibProperty() Function
• Introduced in version 1.3b48
Usage
setLibProperty(name, value)
setLibProperty(name, value, libName)
Examples
Set a property on the Library Token that the macro is running from.
[h: setLibProperty("defaultStrength", 10)]
Set a property on a specifig Library Token.
[h: setLibProperty("defaultStrength", 10, "Lib:Character")]