unitRecoilCoefficient: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added note about null unit)
Line 28: Line 28:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on September 7, 2013
<dt class="note">[[User:AgentRev01|AgentRev]]<dd class="note">
If the unit doesn't exist / is null, -1 is returned.


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 21:55, 7 September 2013

Hover & click on the images for description

Description

Description:
Returns recoil coefficient of a soldier.
Groups:
Uncategorised

Syntax

Syntax:
unitRecoilCoefficient soldier
Parameters:
soldier: Object
Return Value:
Number

Examples

Example 1:
_myRecoil = unitRecoilCoefficient player

Additional Information

See also:
setUnitRecoilCoefficient

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

Posted on September 7, 2013
AgentRev
If the unit doesn't exist / is null, -1 is returned.

Bottom Section