home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revista CD Expert 51
/
PCGamer51_17Demos.iso
/
games
/
colobotdemo
/
colobotdemo10e.exe
/
help
/
cbot
/
space.txt
< prev
next >
Wrap
Text File
|
2001-07-03
|
770b
|
24 lines
\b;Instruction \c;space\n;
Syntaxe :
\s;\c;space ( center, rmin, rmax, dist );\n;
Determines the position of the nearest free space around a given position.
\t;center: \c;\l;point\u cbot\point;\n; (default: bot position)
Desired position of the free space.
\t;rmin: \c;\l;float\u cbot\float;\n; (default value: \c;8\n;)
Minimum distance from the desired position.
\t;rmax: \c;\l;float\u cbot\float;\n; (default value: \c;50\n;)
Maximum distance from the desired position.
\t;dist: \c;\l;float\u cbot\float;\n; (default value: \c;4\n;)
Required distance between two free spaces.
\t;Return: \c;\l;point\u cbot\point;\n;
Position of the free space.
\t;See also
\l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;.