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
modding/function/msnincdata.txt · Last modified: by xephyr
