| Functions Documentation |
|
| Name |
objGetData |
| Syntax |
(objGetData spaceObject string) |
| Argument List |
spaceObject: The space object you want the data from.
string: The name of the data you want. |
| Returns |
The data named by the string from the space object. Returns Nil if there is no data as named by the string. |
| Category |
spaceobject, data
|
| Description |
Returns the data named by the string for the space object. |
| Example |
(objGetData gPlayerShip "rins")
Returns the rins from the players ship. This is how the game handles rins. |
| Comment |
Very useful in getting information stored on an space object from code. If you want data from the xml look at the function objGetStaticData. |