User Tools

Site Tools


modding:function:msndestroy

Discuss this page on this pages TalkPage

msnDestroy

Syntax (msnDestroy missionObj)
Arguments missionObj: the mission object to destroy
Returns True if successful, Nil otherwise
Category mission_functions
Description Destroys the mission object and calls the mission object's <OnDestroy> event.

Example

(block (theMission)
(setq theMission (msnCreate &msMissionExample; Nil))
(msnDestroy theMission)
)

Destroys the mission type “&msMissionExample;”.

Mission Types

Return to Mission functions list

Return to functions list

modding/function/msndestroy.txt · Last modified: 2017/01/31 22:31 by xephyr