Colobot Wiki
Advertisement

Syntax:

send ( name, value, power );

Sends an information to the closest information exchange post.

name: string[]

Name of the information to be sent to the exchange post. This name is a string: it must be written in quotation marks "".

If there is any information having this name, a new entry is created, as far as the total number of entries does not exceed 10. If there is already an information having this name, value is simply replaced by the new.

value: float[]

Value of the information to be sent.

power: float[]

Power of the transmitter, which corresponds to the maximal distance to where information can be the sent. Default value is 10 meters.

Advertisement