HasSpecialItem

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

Description: Checks if the actor has an item, optionally depletes it.

Parameters:

  • globalID - party ID or global ID of the actor to use
  • itemtype - see itemspec.2da (usually 1)
  • useup - destroy/remove a charge after use

Return value: bool


Back to function index, GUIScript introduction.