closeOverlay: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "<source" to "<syntaxhighlight")
 
(3 intermediate revisions by 2 users 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 17:29, 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)]