home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 51 / PCGamer51_17Demos.iso / games / colobotdemo / colobotdemo10e.exe / help / cbot / direct.txt < prev    next >
Text File  |  2001-06-28  |  506b  |  16 lines

  1. \b;Instruction \c;direction\n;
  2. Syntax :
  3. \s;\c;direction ( pos );\n;
  4.  
  5. Calculates the rotation that a robot must perform in order to point toward a given position. 
  6.  
  7. \t;pos: \c;\l;point\u cbot\point;\n;
  8. Position toward which the robot must point.
  9.  
  10. \t;Return value: \c;\l;float\u cbot\float;\n;
  11. Angle of the rotation that must be performed. -90 means f. ex. a rotation of 90 degrees to the right. 
  12.  
  13. \t;See also
  14. \l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;.
  15.  
  16.