User Tools

Site Tools


modding:function:objsetobjrefdata

Discuss this page on this pages TalkPage

objSetObjRefData

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.

Example

Assuming you want to save the playerships current target on the playership, for later recall:

(objSetObjRefData gPlayerShip "CurrentTarget" (objGetTarget gPlayerShip))

Return to Functions list

modding/function/objsetobjrefdata.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1