FindItem

Prototype: GemRB.FindItem (globalID, itemname)

Description: Returns the slot number of the actor’s item (or -1).

Parameters:

  • globalID - party ID or global ID of the actor to use
  • itemname - item resource reference

Return value: integer, -1 if not found

See also: GetItem, GetSlots, GetSlotType


Back to function index, GUIScript introduction.