From Creatures Wiki
The TARG variable is accessed or modified via the following:
Syntax: TARG target (agent)
This sets the target of the current script.
This returns the target as an agent.
|This article about a CAOS command or function needs further examples.|
- RTAR sets TARG randomly.
- ENUM sets TARG sequentially.
- STAR sets TARG randomly within agents of a certain classifier which can be seen by the current agent.
- TTAR sets TARG randomly within agents of a certain classifier which are being touched by the current agent.