reveal: Difference between revisions
Jump to navigation
Jump to search
PhilippRauch (talk | contribs) mNo edit summary |
PhilippRauch (talk | contribs) mNo edit summary |
||
Line 27: | Line 27: | ||
|x1= <code>_soldierOne reveal _soldierTwo; //soldierOne received information about soldierTwo</code> |= Example 1 | |x1= <code>_soldierOne reveal _soldierTwo; //soldierOne received information about soldierTwo</code> |= Example 1 | ||
|x2= <code>player reveal cursorTarget; //soldierOne receives information about the object below | |x2= <code>player reveal cursorTarget; //soldierOne receives information about the object below its cursor</code> |= Example 2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 08:20, 10 February 2010
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:
- groupName reveal unitName
- Parameters:
- groupName: Object or Group which receives revealing information
- unitName: Object which is revealed
- Return Value:
- Nothing
Examples
- Example 1:
_soldierOne reveal _soldierTwo; //soldierOne received information about soldierTwo
- Example 2:
player reveal cursorTarget; //soldierOne receives information about the object below its cursor
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
Categories:
- Scripting Commands
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands ArmA2
- Scripting Commands VBS2