setTargetAge: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>") |
(Updated SEE ALSO) |
||
Line 35: | Line 35: | ||
|x1= <sqf>player setTargetAge "10 MIN";</sqf> | |x1= <sqf>player setTargetAge "10 MIN";</sqf> | ||
|seealso= [[knowsAbout]] [[reveal]] | |seealso= [[targets]] [[targetsQuery]] [[nearTargets]] [[targetsAggregate]] [[targetKnowledge]] [[knowsAbout]] [[reveal]] [[forgetTarget]] [[getHideFrom]] | ||
}} | }} |
Revision as of 12:39, 7 September 2022
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:
- Object Manipulation
Syntax
- Syntax:
- object setTargetAge age
- Parameters:
- object: Object
- age: String
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- targets targetsQuery nearTargets targetsAggregate targetKnowledge knowsAbout reveal forgetTarget getHideFrom
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Elite version 1.00
- Operation Flashpoint: Elite: New Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Object Manipulation