modding:function:msnsetproperty
This is an old revision of the document!
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 | missions |
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
Return to Mission functions list
Return to Functions list
modding/function/msnsetproperty.1484896802.txt.gz · Last modified: 2017/01/20 07:20 by xephyr