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 28 Current »
Droids are player-owned movable units such as trucks, tanks, cyborgs and VTOLs.
They are the most flexible objects in the game:
In addition:
I most maps, you'll start with at least one construction droid (usually a truck) and/or a factory (where droids can be built), but not always.
You can get new droids in the following ways:
No. They can be seen by all other scripts, and can even be controlled by other scripts (although you shouldn't do that, obviously).
Yes. Droids and their properties are automatically stored in save games and persist the save/load cycle.
Requires:
Jump to:
Related objects:
Constants:
Create them:
Organise them:
List or count them:
Tell them what to do:
How to's:
Transfer them between players:
Find out what's happening to droids:
Remove them:
Player Initialisation: