reveal: Difference between revisions
Jump to navigation
Jump to search
m (default descriptions are about ArmA) |
mNo edit summary |
||
Line 17: | Line 17: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | UnitOrGroup '''reveal''' RevealedUnit |= Syntax | ||
|p1= | |p1= UnitOrGroup : [[Object#Unit|Unit]] or [[Group]] which receives revealing information|= Parameter 1 | ||
|p2= | |p2= RevealedUnit : [[Object#Unit|Unit]] which is revealed |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> | |x1= <code>_soldierOne reveal _soldierTwo (soldierOne received information about soldierTwo)</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 17:02, 29 August 2007
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:
- UnitOrGroup reveal RevealedUnit
- Parameters:
- UnitOrGroup : Unit or Group which receives revealing information
- RevealedUnit : Unit 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.