GetAccuracyBonus - InstanceData

Revision as of 17:28, 21 January 2018 by imported>Qazaaq (added required f4se version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: InstanceData Script
Requires F4SE version 0.3.1 or higher.

Gets the accuracy bonus of an object.

SyntaxEdit

int Function GetAccuracyBonus(Owner akOwner) Native Global

ParametersEdit

  • akOwner: The InstanceData Owner to get the value from.

Return ValueEdit

The object's accuracy bonus.

ExamplesEdit

; Get the gun's accuracy bonus
thisInstance = new InstanceData:Owner
thisInstance.owner = self as ObjectReference

int thisBonus = GetAccuracyBonus(thisInstance)

See AlsoEdit