Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "RTAR"

From Creatures Wiki
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''RTAR''' is a CAOS command used in Creatures, Creatures 2, Creatures 3 and Docking Station and Creatures Village which randomly chooses an agent of a particular classifier and sets [[TARG]] to that agent.  The result is null if no agents of that type exist.
+
'''RTAR''' is a CAOS command used in Creatures, Creatures 2, Creatures 3 and Docking Station and Creatures Village which randomly chooses an agent of a particular classifier and sets [[TARG]] to that agent.  The result is null if no agents of that type exist.  It was added to C1 in update 1.0.2.
  
 
==Usage==
 
==Usage==
 
Syntax: ''RTAR family(int) class(int) species(int)''
 
Syntax: ''RTAR family(int) class(int) species(int)''
  
*[http://web.archive.org/web/20050312021341/http://www.freewebs.com/alimaggs/creaturesdev/cdn/c2/knowledge/caos/c2_caos_macro5.html CDN Archive]
+
*[https://web.archive.org/web/20050312021341/http://www.freewebs.com/alimaggs/creaturesdev/cdn/c2/knowledge/caos/c2_caos_macro5.html CDN Archive]
 +
 
 +
{{needexamples}}
  
[[Category:CAOS]]
 
 
[[Category:C1 CAOS Commands]]
 
[[Category:C1 CAOS Commands]]
 
[[Category:C2 CAOS Commands]]
 
[[Category:C2 CAOS Commands]]
 
[[Category:C3 CAOS Commands]]
 
[[Category:C3 CAOS Commands]]

Latest revision as of 05:19, 30 December 2022

RTAR is a CAOS command used in Creatures, Creatures 2, Creatures 3 and Docking Station and Creatures Village which randomly chooses an agent of a particular classifier and sets TARG to that agent. The result is null if no agents of that type exist. It was added to C1 in update 1.0.2.

Usage[edit]

Syntax: RTAR family(int) class(int) species(int)

Editnorn.png This article about a CAOS command or function needs further examples.