Discuss this page on this pages TalkPage
See objSetObjRefData at Xelerus
Syntax | (objSetObjRefData spaceObject string spaceObject) |
---|---|
Arguments | 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. |
Assuming you want to save the playerships current target on the playership, for later recall:
(objSetObjRefData gPlayerShip "CurrentTarget" (objGetTarget gPlayerShip))
Return to Functions list