closeOverlay: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page CloseOverlay to closeOverlay: Converting page titles to lowercase)
m (Text replacement - "source>" to "syntaxhighlight>")
Line 10: Line 10:
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: closeOverlay(name)]
[h: closeOverlay(name)]
</source>
</syntaxhighlight>
}}
}}
[[Category:Overlay Function]]
[[Category:Overlay Function]]

Revision as of 16:59, 14 March 2023

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

closeOverlay() Function

Introduced in version 1.7.0
Closes/deregisters the specified overlay that was previously created using [overlay():]. If the overlay is not registered then the function has no effect. Note that while each connected client can hide any overlay from the Window > Overlays menu, they still run in the background unless you use this function to close them.

Usage

<source lang="mtmacro" line> [h: closeOverlay(name)] </syntaxhighlight>