Welcome to the Creatures Wiki! Log in and join the community.
Difference between revisions of "RTAR"
Jump to navigation
Jump to search
ScoobyGambit (talk | contribs) m |
ScoobyGambit (talk | contribs) 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)'' | ||
− | *[ | + | *[https://web.archive.org/web/20050312021341/http://www.freewebs.com/alimaggs/creaturesdev/cdn/c2/knowledge/caos/c2_caos_macro5.html CDN Archive] |
+ | |||
+ | {{needexamples}} | ||
− | |||
[[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)
This article about a CAOS command or function needs further examples. |