Colobot Wiki
Advertisement

Syntax:

shield ( oper, radius );

Activates or deactivates the shield of the shielder. You can of course move the shielder when the shield is active. It protects all objects that are inside the shielded sphere from enemy fire. The radius of the sphere can range between 10 and 25 meters.

oper: float[]

  • 1 activates the shield.
  • 0 deactivates the shield

A normal power cell fully charged can maintain the shield active during 20 seconds. When the cell is empty, the shield deactivates.

radius: float[]

Radius of the shield, ranging between 10 and 25 meters.

Return value: void[]

None.

Advertisement