setTargetAge: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETTARGETAGE]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETTARGETAGE]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETTARGETAGE]]


| arma |= Game name


<h2 style="color:#000066">'''''object'' setTargetAge ''age'''''</h2>
|2.32|= Game version
____________________________________________________________________________________________


| 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". |= Description
____________________________________________________________________________________________


'''Operand types:'''
| object '''setTargetAge''' age |= Syntax


'''object:''' [[Object]]
|p1= object: [[Object]] |= Parameter 1


'''age:''' [[String]]
|p2= age: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>player setTargetAge "10 MIN"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 2.32 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Sets how the target is known to the other centers.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETTARGETAGE]]
They behave like the target was seen age seconds ago.
[[Category:Scripting Commands OFP Elite |SETTARGETAGE]]
 
[[Category:Scripting Commands ArmA|SETTARGETAGE]]
Possible age values are: "ACTUAL", "5 MIN", "10 MIN", "15 MIN", "30 MIN", "60 MIN", "120 MIN" or "UNKNOWN".
 
 
'''Example:'''
 
player '''setTargetAge''' "10 MIN"

Revision as of 23:30, 1 August 2006

-wrong parameter ("Arma") defined!-2.32
Hover & click on the images for description

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".
Groups:
Uncategorised

Syntax

Syntax:
object setTargetAge age
Parameters:
object: Object
age: String
Return Value:
Nothing

Examples

Example 1:
player setTargetAge "10 MIN"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section