setTargetAge

From Bohemia Interactive Community
Revision as of 16:14, 4 July 2006 by Raedor (talk | contribs)
Jump to navigation Jump to search


object setTargetAge age


Operand types:

object: Object

age: String

Type of returned value:

Nothing

Compatibility:

Version 2.32 required.

Description:

Sets how the target is known to the other centers. They behave like the target was seen age seconds ago. Possible age values are: "ACTUAL", "5 MIN", "10 MIN", "15 MIN", "30 MIN", "60 MIN", "120 MIN" or "UNKNOWN".

Example:

player setTargetAge "10 MIN"