GetAmmoCapacity - InstanceData

This article has been flagged as incomplete.
Please help improve the wiki by learning how to contribute.

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

Placeholder Description.

SyntaxEdit

int Function GetAmmoCapacity(Owner akOwner) Native Global

ParametersEdit

  • akOwner: Placeholder Description.

Return ValueEdit

  • Placeholder Description.

ExamplesEdit

; set up the weapon instance
int slotIndex = PlayerRef.GetEquippedItemType(0) + 32
instanceData:Owner thisInstance = PlayerRef.GetInstanceOwner(slotIndex)

; max ammo capacity
int AmmoCapacity = instanceData.GetAmmoCapacity(thisInstance) as int

See AlsoEdit