Discuss this page on this page's [[msnRegisterForEvents Talk Page|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 event. ==== See Also ==== [[modding:xml:missiontype|Mission Types]] Return to [[modding:function:Mission_functions|Mission functions]] list Return to [[modding:functions:]] list