Other great resources: Official JS API docs, Scripting Forum
You are viewing an old version of this content. View the current version.
Compare with Current View Version History
« Previous Version 10 Next »
var gameObj = droidFromId( id, player );
If the object is found, it's associated game object is returned.
Despite the name of the function, droidFromId() was capable of getting any type of game object, including structures and features.
var obj; try { obj = droidFromId( 63, me ); // do stuff with obj that was found } catch(e) { // object not found }
Requires:
Replaced by:
Jump to:
Related articles: