Functions Documentation
View Function Edit Function
Name objGetOverlays
Syntax (objGetOverlays sObj) -> overlayIDs
Argument List sObj: spaceObject to get overlays from
Returns overlayIDs: list of overlay IDs suitable for use in other overlay functions
Category overlay
Description Returns list of active overlays currently on the object.
Example From CorporateHierarchy.xml
; Remove any overlays that shouldn't be there (e.g., pteravores)
(enum (objGetOverlays gPlayerShip) theOverlay
(objFireOverlayEvent gPlayerShip theOverlay "OnInsuranceClaim")
)
Comment