Discuss this page on this pages TalkPage

objSetData

See objSetData at Xelerus

Syntax (objSetData spaceObject string expression)
Arguments spaceObject: The space object you want to set data in.
string: The name of the data.
expression: Can be anything except a pointer or a list containing pointers.
Returns condition: True if successful.
Category data, spaceobject
Description Sets the data named by the string to whatever the expression is in the space object.

Example

(objSetData gPlayerShip "rins" 0)

Sets the rins of the player to 0. Return to Functions list