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...")
 
m (Conversion script moved page isOverlayRegistered to IsOverlayRegistered without leaving a redirect: Converting page title to first-letter uppercase)
(No difference)

Revision as of 22:35, 9 February 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)]