GetNearestCorpse

From NWN Lexicon


Contents

[edit] GetNearestCorpse(object)

Return the nearest corpse object.

object GetNearestCorpse(
    object oSource = OBJECT_SELF
);

[edit] Parameters

oSource

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


[edit] Description

Return the nearest corpse object.



[edit] Remarks

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

    return GetNearestCreature(CREATURE_TYPE_IS_ALIVE,  FALSE,  oSource);


[edit] Requirements

#include " x0_i0_corpses "


[edit] Version

???

[edit] See Also

functions: 

GetNearestCreature



author: Mistress

Personal tools
Categories