HasSpecialSpell

Prototype: GemRB.HasSpecialSpell (globalID, itemtype, useup)

Description: Checks if the actor has a spell, optionally depletes it.

Parameters:

  • globalID - party ID or global ID of the actor to use
  • specialtype - see splspec.2da
  • useup - destroy/remove a charge after use

Return value: bool


Back to function index, GUIScript introduction.