Other great resources: Official JS API docs, Scripting Forum
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 5 Current »
var gameObj = hackGetObj(type, player, id);
The type of object to retrieve:
The player to which the object belongs.
When retrieving feature objects, specify player as -1.
-1
The object ID.
null
var obj = hackGetObj(DROID, me, 63); // retrieve my droid #63 if (obj) { // do stuff with the obj }
Requires:
Replaced by:
Earlier versions:
Jump to:
Related articles: