GetEquippedAmmunition

Prototype: GemRB.GetEquippedAmmunition (globalID)

Description: Returns the equipped ammunition slot, if any

Parameters:

  • globalID - party ID or global ID of the actor to use

Return value: If ammunition is equipped, the inventory slot, otherwise -1.

See also: GetEquippedQuickSlot


Back to function index, GUIScript introduction.