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

  1. \b;Instruction \c;retobject\n;
  2. Syntax:
  3. \s;\c;retobject ( number );\n;
  4.  
  5. Returns the object corresponding to the given number.
  6.  
  7. \t;number: \c;\l;int\u cbot\int;\n;
  8. Number of the object, between 0 and n. "n" represents the total number of objects in the scene. 
  9.  
  10. \t;Return value: \c;\l;object\u cbot\object;\n;
  11. Object corresponding to the number. The return value \c;\l;null\u cbot\null;\n; means that no object corresponds to this number, because the number was too high, and there are not so many objects in the scene. 
  12.  
  13. \t;See also
  14. \l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;.
  15.  
  16.