Overview
The value ofme
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);