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 4 Next »
addBeacon(x, y, to[, message]);
Number
Constant
The player id who the beacon is for.
Alternatively you can send the beacon to all ALLIES.
true
false
function eventObjectSeen(sensor, gameObject) { addBeacon(gameObject.x, gameObject.y, ALLIES, "I just spotted a "+gameObject.name); }
Requires:
Jump to:
Related articles: