setTableImage: Difference between revisions

From RPTools Wiki
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 difference)

Revision as of 23:24, 16 February 2019

setTableImage() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.5.0
Sets the image for a specified roll value. 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.


See Also