Functions Documentation | |
Name | objFireOverlayEvent |
Syntax | (objFireOverlayEvent obj overlayID event) -> result |
Argument List | sObj: spaceOjbect the overlay is on overlayID: the overlay to access event: the event to trigger, string(?) |
Returns | result: return value of event code |
Category | overlay |
Description | Executes code from the <Events> section of the OverlayType related to the chosen overlay. |
Example |
From CorporateHierarchy.xml
; Remove any overlays that shouldn't be there (e.g., pteravores) (enum (objGetOverlays gPlayerShip) theOverlay (objFireOverlayEvent gPlayerShip theOverlay "OnInsuranceClaim") )From EncountersVol01.xml <OnInsuranceClaim> ; Insurance cleans up pteravores (objRemoveOverlay gSource aOverlayID) </OnInsuranceClaim> |
Comment |
Mod of the Month (February '24) |
Featured Mods (random) |
Angelus-class Explorer |
Uncharted |
Quality Mods (random) |
6seg freighters v3p0 |
"PDmod" ICX Overhaul |
Balanced Mods (random) |
Visible Damage V2 |
"PDmod" ICX Overhaul |