Djinni Wiki
Advertisement

function GetFirstItemInInventory (object oTarget=OBJECT_SELF)

Get the first item in oTarget's inventory (start to cycle through oTarget's inventory)

  • Returns OBJECT_INVALID if the caller is not a creature, item, placeable or store, or if no item is found.
  • Return type: object
  • Include file: nwscriptdefn
Advertisement