modding:function:typefirobjevent
This is an old revision of the document!
Discuss this page on this pages TalkPage
typFireObjEvent
| Syntax | (typFireObjEvent type spaceObject string) |
|---|---|
| Arguments | type: The unid of the type that holds the event you wish to run. |
| spaceObject: The space object you want the event to target. | |
| string: The name of the event you want to run. | |
| Returns | True is successful, otherwise nil. |
| Category | spaceobject |
| Description | Runs an event on an object from a type. |
Example
(typFireObjEvent &baStdWingmanBase; gSource "OnCreate")
Useful function for firing events without having to create the object that contains the event. Return to Functions list
modding/function/typefirobjevent.1484880134.txt.gz · Last modified: by xephyr
