reveal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(expanded)
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Reveal unit to a [[group]] or another unit. Command does not care if the unit/[[group]] [[knowsAbout]] the revealed unit or not. |= Description
| Reveals a unit to a [[group]] or another unit.  
 
The [[knowsAbout|knowledge value]] will be set to the highest level any unit of the revealing side has about the revealed unit. If the revealing side has ''no'' knowledge about the revealed unit, the value will be set to 1. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| group '''reveal''' unit |= Syntax
| group '''reveal''' unit |= Syntax


|p1= group: [[Object]] or [[Group]] |= Parameter 1
|p1= group: [[Object]] or [[Group]] which receives revealing information|= Parameter 1


|p2= unit: [[Object]] |= Parameter 2
|p2= unit: [[Object]] which is revealed |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>soldierOne reveal soldierTwo</pre> |= Example 1
|x1= <code>soldierOne reveal soldierTwo (soldierOne received information about soldierTwo)</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 05:18, 13 February 2007


Hover & click on the images for description

Description

Description:
Reveals a unit to a group or another unit. The knowledge value will be set to the highest level any unit of the revealing side has about the revealed unit. If the revealing side has no knowledge about the revealed unit, the value will be set to 1.
Groups:
Uncategorised

Syntax

Syntax:
group reveal unit
Parameters:
group: Object or Group which receives revealing information
unit: Object which is revealed
Return Value:
Nothing

Examples

Example 1:
soldierOne reveal soldierTwo (soldierOne received information about soldierTwo)

Additional Information

See also:
knowsAbout

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

Posted on January 15, 2007
Ceeeb
In OFP v1.96, When a target is revealed to a unit, it's knowsAbout rating is set to 1, unless it was already more than 1 in which case reveal does nothing. See knowsAbout for more details about knowsAbout ratings and limitations.

Bottom Section