modding:function:msnregisterforevents
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.txt · Last modified: 2017/01/31 22:34 by xephyr