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
Line 4: Line 4:
 
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}}
 
{{needexamples}}

Revision as of 01:34, 19 July 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.

Usage

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

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