VictimDead()

Determines whether the victim is dead.

int VictimDead();

Description

Returns TRUE if the assassin plot victim is dead, otherwise FALSE.



Remarks

Used to make the NWN assassin plots to work.


Requirements

#include "nw_j_assassin"

Version

1.22

Example

// 1.24 souce for this function

//::///////////////////////////////////////////////
//:: VictimDead
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
      Returns true if the assassin plot victim
      is dead.
*/
//:://////////////////////////////////////////////
//:: Created By:   Brent
//:: Created On:   December 2001
//:://////////////////////////////////////////////

int VictimDead()
{
        if (!GetIsObjectValid(GetVictim()))
        {
            return TRUE;
        }
            return FALSE;
}

See Also

functions: GetVictim | SetVictim
categories: Module Specific Functions


 author: Tom Cassiotis
 Send comments on this topic.