GetWorn
ds2.10/lib/doc/lfun/lib/body/GetWorn · 588 B
From the archive ds2.10.zip
Download the archive « Back to the archive contents
GETWORN
NAME
GetWorn()
SYNOPSIS
LIB_BODY: varargs object array GetWorn(string limb) LIB_EQUIP: string array GetWorn()
DESCRIPTION
LIB_BODY: Without an argument, returns an array of all worn and wielded objects in the creature's inventory. With a limb as an argument, returns an array of all worn and wielded objects on that limb. LIB_EQUIP: Returns a positive integer if the item is currently being worn, 0 otherwise.
EXAMPLES
LOCATION
/lib/body
/lib/props/equip
SEE ALSO
SetWorn, GetEquippedLimbs
Author
Cratylus