Description
Reveals a target to a group. If toWhom is a unit, unit's group is considered. If toWhom is a vehicle, vehicle commander's group is considered. The knowledge value will be set to the highest level any unit of the revealing side has about the revealed target. If the revealing side has no knowledge about the revealed target, the value will be set to 1.
Note
The knowledge level can only be increased by this command, not decreased. Use forgetTarget first if you need to decrease value.
Syntax
Syntax 1
toWhom reveal target
Parameters:
Returns: Nothing
Syntax 2
since arma2oa 1.60
toWhom reveal [target, accuracy]
Parameters:
toWhom: Object or Group - which receives revealing informationtarget: Object - which is revealedaccuracy: Number - knowledge value, clamped to 0..4 range
Returns: Nothing
Examples
Example 1
_soldierOne reveal _soldierTwo; // soldierOne knowsAbout information about soldierTwo is updated
Example 2
player reveal cursorObject; // player knowsAbout information about object under cursor is updated
Example 3
_soldierOne reveal [_soldierTwo, 1.5];
Multiplayer
targetKnowledge and knowsAbout information only get updated on the PC where this command was executed.