Lua Corpse HasFlag

Parameters

 * (flag)


 * flag
 * Integer value of a flag to check for.

Details

 * type
 * boolean


 * state
 * True if the corpse has the provided flag.

Known Values

 * None = 0x0
 * Bones = 0x1
 * Unk1 = 0x2
 * Unk2 = 0x4
 * HideHelm = 0x8
 * HideCloak = 0x10
 * Lootable = 0x20