modding:function:typfireobjevent
Discuss this page on this pages TalkPage
typFireObjEvent
| Syntax | (typFireObjEvent unid obj event) |
|---|---|
| Arguments | unid: The unid of the type that holds the event |
| obj: The space object to fire the event on | |
| event: the event to fire on the space object | |
| Returns | Result of event |
| Category | type, unid |
| Description | Fires an event from a type on a space object. Useful for calling events from base classes. |
Example
(typFireObjEvent &baCSCBase; gSource 'OnDestroy)
From CommonwealthFleet.xml. Fires the event “OnDestroy” from the CSC's base class on itself.
Return to type functions list
Return to Functions list
modding/function/typfireobjevent.txt · Last modified: by xephyr
