GetVictim

From NWN Lexicon
Jump to navigationJump to search



GetVictim(action)

Specifies the assassin’s victim in original campaign.

object GetVictim(
    action a
);

Parameters

a


Description

Returns the victim of the assassin, stored by the SetVictim command as a local object ("NW_J_ASSASSIN_VICTIM") on the assassin.



Remarks

Found in nw_j_assassin.nss on line 366

Called by the function (also in nw_j_assassin) VictimDead, which returns TRUE if the object stored in "NW_J_ASSASSIN_VICTIM" isn’t valid, i.e. has been killed.

This is part of Bioware’s own quest and reward system. It is hardly useful for anyone not copying that system to the very last detail.


Requirements

#include " nw_j_assassin "

Version

1.29

See Also

functions: 

VictimDeadButNoItems



 author: Lilac Soul, editor: Jody Fletcher, additional contributor(s): Lilac Soul