setTargetAge: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|SETTARGETAGE]]
[[Category:Scripting Commands ArmA|SETTARGETAGE]]


<new command not populated>


<h2 style="color:#000066">'''''object'' setTargetAge ''age'''''</h2>


<h2 style="color:#000066">''''' setTargetAge'''''</h2>


'''Operand types:'''


'''Operand types:'''
'''object:''' [[Object]]
 
'''age:''' [[String]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.32 required.


'''Description:'''
'''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:'''
'''Example:'''
player '''setTargetAge''' "10 MIN"

Revision as of 17:14, 4 July 2006


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"