Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Excerpt

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

Code Block
themeEclipse
languagejavascript
titleList all human player droids that my AI can see
linenumberstrue
// get a list of all the human player's droids that I can see
var humanPlayersDroids = enumDroid(selectedPlayer,null,me);