User Tools

Site Tools


modding:function:msnincdata

Discuss this page on this page's Talk Page

msnIncData

Syntax (msnIncData missionObj attrib [increment])
Arguments missionObj: The mission object you want to increase data on.
attrib: The name of the data to increase.
[increment] : The value to add to the data
Returns the new value
Category data functions, mission functions
Description Increases the named dynamic data by the specified value.

Example

(msnIncData gSource 'data 1)

Increases the dynamic data on the mission object named “data” by 1.

See Also

Mission Types

Return to Mission functions list

Return to functions list

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