getTableImage: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{stub|examples.}} {{MacroFunction |name= getTableImage |version=1.5.0 |description= Gets the asset id for the image of the current row for the given table. See...")
 
mNo edit summary
Line 3: Line 3:
|name= getTableImage
|name= getTableImage
|version=1.5.0
|version=1.5.0
|trusted=true
|description=
|description=
Gets the [[Asset ID|asset id]] for the image of the current row for the given table.  See {{func|setTableRoll}} to learn how to set the current row.
Gets the [[Asset ID|asset id]] for the image of the current row for the given table.  See {{func|setTableRoll}} to learn how to set the current row.

Revision as of 22:47, 16 February 2019

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
 This article needs: examples.

getTableImage() Function

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

Introduced in version 1.5.0
Gets the asset id for the image of the current row for the given table. See setTableRoll() to learn how to set the current row.

Usage

getTableImage(table)

Parameters

  • table - The name of the table for the row which has its image asset returned. If the given table doesn't exist or is inaccessible in the current context, the script aborts.