Colobot Wiki
Advertisement

Syntax: jet ( power );

Direct control of the jet of a winged bot. The jet is what makes the bot fly. Use this instruction in order to take off, climb, descend or land.

power: float Power of the jet, ranges between -1 and +1. jet(1); instructs the bot to climb as fast as possible, jet(-1); descends as fast as possible, jet(0); stabilizes the altitude. In order to get slower altitude changes, use intermediate values, for example jet(0.3);.


Return value: void None.

Advertisement