colobot-data/help/F/cbot/sniff.txt

18 lines
664 B
Plaintext
Raw Normal View History

\b;Instruction \c;sniff\n;
Syntax:
\s;\c;sniff ( );\n;
Sounds the underground in front of the \l;sniffer\u object\botsr;. According to what raw materials were detected, the following objects will be created:
\c;TitaniumSpot\n; -> \l;Red cross\u object\stonspot;
\c;UraniumSpot \n; -> \l;Yellow circle\u object\uranspot;
\c;PowerSpot \n; -> \l;Green cross\u object\enerspot;
\t;Return value: \c;\l;int\u cbot\int;\n;
Zero if everything is OK, or a value different from zero if an error occurred.
\c;== 0 \n;sounding performed
\c;!= 0 \n;sounding impossible
\t;See also
\l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;.