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.

Hardly useful for normal scripting purposes, as this requires you to stick to BioWare's way of handling quests.


Requirements

#include "nw_j_assassin"

Version

1.61

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, editor: Lilac Soul