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")
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:


|usage=
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
[h: closeOverlay(name)]
[h: closeOverlay(name)]
</source>
</syntaxhighlight>
}}
}}
[[Category:Overlay Function]]
[[Category:Overlay Function]]

Latest revision as of 23: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

[h: closeOverlay(name)]