setTableImage: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{MacroFunction |name= setTableImage |version=1.5.0 |trusted=true |description= Sets the image for a specified roll value. Returns {{true}} if update successful and {{false}}...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name= setTableImage | |name= setTableImage | ||
|version=1. | |version=1.4.0.1 | ||
|trusted=true | |trusted=true | ||
|description= | |description= | ||
Sets the image for a specified | Sets the image for a specified image table. Returns {{true}} if update successful and {{false}} if not. | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> |
Revision as of 10:13, 4 March 2019
setTableImage() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.4.0.1
Sets the image for a specified image table. Returns
true
(1
) if update successful and false
(0
) if not.Usage
setTableEntry(tableName, asset)
Parameters
tableName
- A string containing the name of the table.asset
- An asset id represented as a string.