setLibProperty
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")]
Library Token: A special token designed to hold a library of macros (similar to a function library) that can be called by token macros, campaign macros, and global macros. Often called "Lib:tokens."Token: A visual marker representing a character, monster, or NPCCampaign Macro: A macro specific to a campaign file. These macros are available to players and the GM, and are displayed in the Campaign Macros window.Global Macro: Macros that are available regardless of the campaign file currently loaded in MapTool, and regardless of whether the instance of MapTool is a server or a client. Global macros are ''only'' available to the running instance.Macro: A series of text instructions used to automate processes in MapTool.Campaign: A zipped XML file with the '''.cmpgn''' file extension containing tokens, maps, token macros, campaign macros, and token propertiesMap: An image file displayed in the map display area in MapTool. This image is shared among all connected players and the GM.Property: Generic term for a variable contained in a token; a more explicit term is token property