From Bohemia Interactive Community
					 
					
					
					
					
				
				
				
				
				
				|  |  | 
| Line 1: | Line 1: | 
|  | {{RV|type=command
 |  | #redirect [[enableGunLights]] | 
|  |   |  | 
|  | | arma2oa
 |  | 
|  |   |  | 
|  | |1.51
 |  | 
|  |   |  | 
|  | |gr1= Lights
 |  | 
|  |   |  | 
|  | |gr2= Weapons
 |  | 
|  |   |  | 
|  | |arg= local
 |  | 
|  |   |  | 
|  | |eff= global
 |  | 
|  |   |  | 
|  | | Force the AI to use gun lights. This command can be used to force lights on, but not to force lights off.
 |  | 
|  | {{Feature|arma3 | This syntax is for {{arma2oa}}. For {{arma3}} syntax, see [[enableGunLights]].}}
 |  | 
|  |   |  | 
|  | | thing [[enableGunLights]] value
 |  | 
|  |   |  | 
|  | |p1= thing: [[Object]] or [[Group]] - the unit or the group forced to use gun lights
 |  | 
|  |   |  | 
|  | |p2= value: [[Boolean]]
 |  | 
|  |   |  | 
|  | | [[Nothing]]
 |  | 
|  | 		  
 |  | 
|  | |x1= <code>_group [[enableGunLights]] [[true]];</code>
 |  | 
|  |   |  | 
|  | |x2= <code>_unit [[enableGunLights]] [[false]];</code>
 |  | 
|  |   |  | 
|  | |seealso= [[enableGunLights]]
 |  | 
|  | }}
 |  | 
|  |   |  | 
|  |   |  | 
|  | {{GameCategory|arma2|Scripting Commands}}
 |  | 
|  | {{GameCategory|tkoh|Scripting Commands}}
 |  | 
		Revision as of 23:16, 17 April 2021