Colobot Wiki
Advertisement

Syntax:

sniff ( );

Sounds the underground in front of the sniffer. According to what raw materials were detected, the following objects will be created: 

  • TitaniumSpot  ->  Red cross = titanium ore has been found
  • UraniumSpot   ->  Yellow circle = uranium ore has been found
  • PowerSpot     ->  Green cross = an energy source has been found


Return value: int[]

Zero if everything is OK, or a value different from zero if an error occurred. 

== 0 sounding performed

!= 0 sounding impossible

!= 0 sounding impossible

Advertisement