GetLootable

From NWN Lexicon



Contents

[edit] GetLootable(object)

Returns the lootable state of a creature

int GetLootable(
    object oCreature
);

[edit] Parameters

oCreature

NPC to determine whether is lootable


[edit] Description

Returns the lootable state of a creature.



[edit] Remarks

This corresponds to the "leaves lootable corpse" NPC property (under advanced in the NPC's properties).

Only NPCs can be lootable, and their lootable state must be set BEFORE they die.

Function will return FALSE if oCreature is a PC or not a creature.


[edit] Version

1.61

[edit] See Also

functions: 

SetLootable



 author: Lilac Soul
 

Personal tools
Categories