Mod:Creation Kit/GetAccuracyBonus - InstanceData

Member of: Mod:Creation Kit/InstanceData Script

Gets the accuracy bonus of an object.

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
thisInstance = new InstanceData:Owner thisInstance.owner = self as ObjectReference
 * Get the gun's accuracy bonus

int thisBonus = GetAccuracyBonus(thisInstance)