R3vo – User talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Blanked the page)
Tag: Blanking
mNo edit summary
Line 1: Line 1:
{{RV|type=command


| arma3
|1.00
|gr1 = Lights
|gr2 = Weapons
|arg= local
|eff= global
| Sets AI group option how to use gun lights. The string argument can be:
* <tt>"Auto"</tt> - Depends on combat mode
* <tt>"ForceOn"</tt> - Always on
* <tt>"ForceOff"</tt> - Always off
{{Feature|arma3 | This syntax is for {{arma3}}. For {{arma2}} syntax, see [[enableGunLights Arma 2]].}}
| group [[enableGunLights]] mode
|p1= group: [[Group]] or [[Object]] - the group forced to use gun lights. If unit is supplied as argument, unit's group is used
|p2= mode: [[String]] - <tt>"Auto"</tt>, <tt>"ForceOn"</tt>, <tt>"ForceOff"</tt>
| [[Nothing]]
 
|x1= <code>_group [[enableGunLights]] "ForceOn";</code>
|x2= <code>_unit [[enableGunLights]] "Auto";</code>
|x3= <code>_unit [[enableGunLights]] "ForceOff";</code>
|seealso= [[isFlashlightOn]]
}}
----
{{RV|type=command
| 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:29, 15 March 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
LightsWeapons

Syntax

Syntax:
Syntax needed
Parameters:
group: Group or Object - the group forced to use gun lights. If unit is supplied as argument, unit's group is used
mode: String - "Auto", "ForceOn", "ForceOff"
Return Value:
Return value needed

Examples

Example 1:
_group enableGunLights "ForceOn";
Example 2:
_unit enableGunLights "Auto";
Example 3:
_unit enableGunLights "ForceOff";

Additional Information

See also:
isFlashlightOn

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


Hover & click on the images for description

Description

Description:
Description needed
Groups:
LightsWeapons

Syntax

Syntax:
Syntax needed
Parameters:
thing: Object or Group - the unit or the group forced to use gun lights
value: Boolean
Return Value:
Return value needed

Examples

Example 1:
_group enableGunLights true;
Example 2:
_unit enableGunLights false;

Additional Information

See also:
enableGunLights

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