VictimDead

From NWN Lexicon



Contents

[edit] VictimDead()

Determines whether the victim is dead.

[edit] Description

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



[edit] 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.


[edit] Requirements

#include " nw_j_assassin "

[edit] Version

1.61

[edit] 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;
}

[edit] See Also

functions: 

SetVictim



 author: Tom Cassiotis, editor: Lilac Soul
 

Personal tools
Categories