Functions Documentation
View Function Edit Function
Name objSetObjRefData
Syntax (objSetObjRefData spaceObject string spaceObject)
Argument List spaceObject: The space object that you want store the other space obect in.
string: The name of the space object reference.
spaceObject: The space object that you want to store.
Returns condition: True if successful.
Category spaceobject
Description Stores a space object in a different space object.
Example Assuming you want to save the playerships current target on the playership, for later recall:
(objSetObjRefData gPlayerShip "CurrentTarget" (objGetTarget gPlayerShip))
Comment Used with objGetObjRefData. Just like objSetData except it can store space objects.