setTableImage

From RPTools Wiki
Revision as of 23:24, 16 February 2019 by Azhrei (talk | contribs) (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}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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