modding:function:msnregisterforevents
This is an old revision of the document!
Discuss this page on this page's Talk Page
msnRegisterForEvents
Syntax | (msnRegisterForEvents missionObj obj) |
---|---|
Arguments | missionObj: The mission object the event is stored on. |
obj: The spaceObject to receive the event | |
Returns | |
Category | mission functions |
Description | Allows a spaceObject to receive events from a mission object. |
Example
(msnRegisterForEvents gSource targetObj)
Registers the spaceObject “targetObj” for events from the mission. For example, destroying the target may complete the mission in the <OnObjDestroyed> event.
See Also
modding/function/msnregisterforevents.1485837005.txt.gz · Last modified: 2017/01/31 04:30 by xephyr