Functions Documentation
View Function Edit Function
Name objIncData
Syntax (objIncData spaceObject string [number])
Argument List spaceObject: The space object you want to alter a numerical data in.
string: The name of the data you want to alter.
[number]: The amount you want to add to the data. If this value is left out, then the value 1 is automatically used.
Returns condition: True if successful.
Category data, spaceobject
Description Adds the number to the data in the space object named by the string.
Example
(objIncData gPlayerShip "rins" 100)
Adds 100 rins to the player.
(objIncData gPlayerShip "rins")

Add 1 rin to the player.
Comment Basically a helper function so you don't have to do set and add all the time.