currentZeroing: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2oa |Game name=
| arma2oa |Game name=
Line 7: Line 6:


|gr1= Weapons |GROUP1=
|gr1= Weapons |GROUP1=
____________________________________________________________________________________________


| Returns zeroing of unit's weapon. |DESCRIPTION=
| Returns zeroing of unit's weapon. |DESCRIPTION=
____________________________________________________________________________________________


| [[currentZeroing]] gunner |SYNTAX=
| [[currentZeroing]] gunner |SYNTAX=
Line 17: Line 14:


| [[Number]] |RETURNVALUE=
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>_zeroing = [[currentZeroing]] [[player]];</code> |Example1=
|x1= <code>_zeroing = [[currentZeroing]] [[player]];</code> |Example1=
____________________________________________________________________________________________


|  |SEEALSO=
|  |SEEALSO=

Revision as of 01:45, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns zeroing of unit's weapon.
Groups:
Weapons

Syntax

Syntax:
currentZeroing gunner
Parameters:
gunner: Object
Return Value:
Number

Examples

Example 1:
_zeroing = currentZeroing player;

Additional Information

See also:
See also needed

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

Bottom Section