Variables


These are all the variables I can think of right now. The ones in blue mean you can read and write it. That means you can change it and look at it basically. The ones in green mean you can only read them, not change them.

  • A-Z: Are all user defined except X & Y, which stand for the coordinates of your robot on the battle ground.

  • Aim: Returns the direction of the current aim.

  • Damage: The amount of damage (life) your robot has currently.

  • Energy: The amount of energy your robot has currently.

  • Probe: Returns a value based on the settings of probe. There will soon be a section of the tutorial on probes.

  • Range: The distance from the robot your looking at to yourself. If currently not looking at a robot the value is 0.

  • Radar: The distance from the bullet your looking at to yourself. If currently not looking at a bullet the value is 0.

  • Robots: The amount of robots left in the arena including yourself.

  • Shields: The current value of your robots shields

    To change a read and write variable you simply use this method:

    Hope that helps! If you find an error or have a suggestion email me!