GetSpelldataIndex
Prototype: GemRB.GetSpelldataIndex (globalID, SpellResRef, type)
Description: Returns the index of the spell in the spellbook’s spellinfo structure.
Parameters:
- globalID - global ID of the actor to use
- SpellResRef - spell resource to check
- type - spell(book) type (0 means any)
Return value: integer
Back to function index, GUIScript introduction.