Difference between revisions of "isWearingNVG (VBS1)"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (moved ver to final supported number)
m (template:command argument fix)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| 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=
  
 
}}
 
}}

Revision as of 15:42, 7 April 2019


Introduced with Virtual Battlespace 1 version 2.12
  

Click on the images for descriptions

Introduced in

Game:
Virtual Battlespace 1
Version:
2.12.14

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

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section