| 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 (November '25) |
| Featured Mods (random) |
| Weapon+27 |
| TX2 Centauri Module |
| Quality Mods (random) |
| Prospector |
| RPC's Utility Items Pack |
| Balanced Mods (random) |
| Starlight-class cruiser |
| Osaka Class Transport [In honor of Frontier 0.5] 1.1e |