GetNearestCorpse(object)

Return the nearest corpse object.

object GetNearestCorpse(
    object oSource = OBJECT_SELF
);

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