SetEquippedQuickSlot

Prototype: GemRB.SetEquippedQuickSlot (PartyID, QWeaponSlot[, ability])

Description: Sets the specified weapon slot as equipped weapon slot. Optionally sets the used ability.

Parameters:

  • PartyID - the PC’s position in the party (1 based)
  • QWeaponSlot - the quickslot to equip
  • ability - optional integer, sets the used extended header

Return value: 0 success, -1 silent failure

See also: GetEquippedQuickSlot, SetupQuickSlot


Back to function index, GUIScript introduction.