
Prototype: GemRB.SetupSpellIcons(WindowIndex, Slot, Type[, Start])

Metaclass Prototype: SetupSpellIcons(Slot, Type[, Start])

Description: Sets up all 12 action buttons for a player character with spell or innate icons.
It also sets up the scroll buttons left and right if needed.
If Start is supplied, it will skip the first few items.

Parameters:
WindowIndex       - the buttons' window index
Slot              - the player character's index in the party
Type              - the spell type bitfield (1-mage, 2-priest, 4-innate)
Start             - start the spell list from this value

Return value: N/A

See also: SetupEquipmentIcons, SetupControls, SpellCast
