setTableImage

From RPTools Wiki
Revision as of 21:23, 22 July 2022 by Tdue21 (talk | contribs) (Replaced source tages with syntaxhighlight, and corrected example to use setTableImage)
Jump to navigation Jump to search

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

setTableImage(tableName, asset)

Parameters

  • tableName - A string containing the name of the table.
  • asset - An asset id represented as a string.


See Also