setTableVisible: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{MacroFunction |name=setTableVisible |version=1.4.0.1 |description= Sets whether or not the specified table is visible to players. May only be used by GM or a trusted macro....")
 
No edit summary
Line 2: Line 2:
|name=setTableVisible
|name=setTableVisible
|version=1.4.0.1
|version=1.4.0.1
|trusted=true
|description=
|description=
Sets whether or not the specified table is visible to players. May only be used by GM or a trusted macro.
Sets whether or not the specified table is visible to players.
|usage=
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>

Revision as of 12:31, 3 May 2016

setTableVisible() Function

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

Introduced in version 1.4.0.1
Sets whether or not the specified table is visible to players.

Usage

setTableVisible(tableName, visible)

Parameters

  • tableName - A string containing the name of the Table.
  • visible - Whether or not the table can be seen by players in the Table Window, true(1) or false(0).

Examples

[h:setTableVisible("randomMonsters", 0)]

See Also