---
name: "setTargetAge"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setTargetAge
revid: 363641
updated: 2024-04-09T21:20:52Z
---

# setTargetAge

*Command · Object Manipulation · Arma 3 v0.50 · introduced in Operation Flashpoint: Elite v1.00*

## Description

Sets how the target is known to the other centers. They behave like the target was seen age seconds ago.

## Syntax

```sqf
object setTargetAge age
```

**Parameters:**

- `object`: [Object](../topics/Object.md)
- `age`: [String](../topics/String.md) - can be:
  - "ACTUAL"
  - "5 MIN"
  - "10 MIN"
  - "15 MIN"
  - "30 MIN"
  - "60 MIN"
  - "120 MIN"
  - "UNKNOWN"

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
player setTargetAge "10 MIN";
```

## See also

[targets](../commands/targets.md) · [targetsQuery](../commands/targetsQuery.md) · [nearTargets](../commands/nearTargets.md) · [targetsAggregate](../commands/targetsAggregate.md) · [targetKnowledge](../commands/targetKnowledge.md) · [knowsAbout](../commands/knowsAbout.md) · [reveal](../commands/reveal.md) · [forgetTarget](../commands/forgetTarget.md) · [getHideFrom](../commands/getHideFrom.md)

<sub>Source: [BI Community Wiki — setTargetAge](https://community.bistudio.com/wiki/setTargetAge) (revision 363641).</sub>
