Discuss this page on this page's Talk Page
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. |
(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.