isOverlayRegistered: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{stub}} {{MacroFunction |name=isOverlayRegistered |version=1.7.0 |description= Returns 1 if the specified overlay is registered, or 0 if it is not registered. <br> This funct...")
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:


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

Latest revision as of 23:59, 15 March 2023

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

isOverlayRegistered() Function

Introduced in version 1.7.0
Returns 1 if the specified overlay is registered, or 0 if it is not registered.
This function will return 1 even if a registered overlay is hidden using the Window > Overlays menu. To unregister an overlay, use closeOverlay().

Usage

[h: reg =  isOverlayRegistered(name)]