Other great resources: Official JS API docs, Scripting Forum

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Overview

The value of me indicates which player your script is controlling.

Note: Note to be confused with selectedPlayer, which is a value indicating who the human player on the client machine is currently playing as (remember they can switch player using cheat menu).

Example

List all human player droids that my AI can see
// get a list of all the human player's droids that I can see
var humanPlayersDroids = enumDroid(selectedPlayer,null,me);
  • No labels