Difference between revisions of "isWearingNVG (VBS1)"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (moved ver to final supported number)
m (Text replacement - "|= Game version" to "|Game version=")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| vbs1 |= Game name
+
| vbs1 |Game name=
  
|2.12.14|= Game version
+
|2.12.14|Game version=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Returns [[true]] if night vision is on, [[false]] if it is off. |= Description
+
| Returns [[true]] if night vision is on, [[false]] if it is off. |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''isWearingNVG''' soldier |= Syntax
+
| '''isWearingNVG''' soldier |SYNTAX=
  
|p1= soldier: [[Object]] |= Parameter 1
+
|p1= soldier: [[Object]] |PARAMETER1=
  
| [[Boolean]] |= Return value
+
| [[Boolean]] |RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|x1= <pre>_nvOn = isWearingNVG soldierOne</pre> |= Example 1
+
|x1= <pre>_nvOn = isWearingNVG soldierOne</pre> |EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|  |= See also
+
|  |SEEALSO=
  
 
}}
 
}}

Latest revision as of 02:07, 1 September 2019

Introduced with Virtual Battlespace 1 version 2.12.142.12
Hover & click on the images for descriptions

Description

Description:
Returns true if night vision is on, false if it is off.

Syntax

Syntax:
isWearingNVG soldier
Parameters:
soldier: Object
Return Value:
Boolean

Examples

Example 1:
_nvOn = isWearingNVG soldierOne

Additional Information

See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section