User Tools

Site Tools


modding:function:msncreate

Discuss this page on this pages TalkPage

msnCreate

Syntax (msnCreate unid owner [data])
Arguments unid: the unid of the mission object
owner: the space object the mission is stored on (can be nil)
data: data to pass on to the mission
Returns The mission object if successful, Nil otherwise
Category missions
Description Creates a mission object and calls its <OnCreate> event. Mission objects must be created in order to be assigned.

Example

(msnCreate &msMissionType; nil)

Creates the mission with the unid &msMissionType;.

Mission Types

Return to Mission functions list

Return to functions list

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