GetAccuracyBonus - InstanceData

From the Fallout4 CreationKit Wiki
Revision as of 20:24, 30 September 2017 by imported>ShadeMe (Create GetAccuracyBonus page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Member of: InstanceData Script

<desc>

Syntax

int Function GetAccuracyBonus(Owner akOwner) Native Global

Parameters

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

Return Value

The object's accuracy bonus.

Examples

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

int thisBonus = GetAccuracyBonus(thisInstance)

See Also