GetNearestCorpse

From NWN Lexicon
Jump to navigationJump to search


GetNearestCorpse(object)

Return the nearest corpse object.

Parameters

oSource

The object to search around for a corpse. (Default: OBJECT_SELF)


Description

Return the nearest corpse object.



Remarks

This is a wrapper for GetNearestCreature . The call is as follows:

    return GetNearestCreature(CREATURE_TYPE_IS_ALIVE,  FALSE,  oSource);


Requirements

#include " x0_i0_corpses "


Version

???

See Also

functions: 

GetNearestCreature



author: Mistress