User Tools

Site Tools


modding:function:msnsetproperty

Discuss this page on this pages TalkPage

msnSetProperty

Syntax (msnSetProperty obj property value)
Arguments obj: the object to set the property on
property: the property to set
value: the new value. see “properties” table below.
Returns True if succesful, Nil otherwise
Category mission_functions
Description Sets a property on a mission type. Useful mostly in dockscreens.

Example

(msnSetProperty missionObj 'isDebriefed True)

Sets the mission object's “isDebriefed” property to “True”.

msnSetProperty properties

 'debrieferID      obj
 'isDebriefed      True|Nil
 'isDeclined       True|Nil
 'isIntroShown     True|Nil
 'name             newName
 'summary          newSummary

Mission Types

Return to Mission functions list

Return to functions list

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