Welcome to the Creatures Wiki! Log in and join the community.
Difference between revisions of "TARG"
Jump to navigation
Jump to search
m |
ScoobyGambit (talk | contribs) |
||
Line 22: | Line 22: | ||
* [[RTAR]] sets TARG randomly. | * [[RTAR]] sets TARG randomly. | ||
* [[ENUM]] sets TARG sequentially. | * [[ENUM]] sets TARG sequentially. | ||
+ | |||
+ | ==External links== | ||
+ | *[http://www.gamewaredevelopment.com/cdn/CDN_more.php?CDN_article_id=37 The TARG Object] at the [[CDN]]. | ||
[[Category:CAOS]] | [[Category:CAOS]] | ||
[[Category:C3 CAOS Commands]] | [[Category:C3 CAOS Commands]] |
Revision as of 07:10, 27 August 2014
TARG is a concept used by CAOS. Each running script has its own target variable, which represents the agent on which most CAOS commands act.
The target agent in agent scripts defaults to the agent in question (ie, OWNR), while there is no default target agent in install or removal scripts (ie, it is NULL).
The TARG variable is accessed or modified via the following:
Usage
Command
Syntax: TARG target (agent)
This sets the target of the current script.
Function
Syntax: TARG
This returns the target as an agent.
This article about a CAOS command or function needs further examples. |
See also
External links
- The TARG Object at the CDN.