PlayerHasHead

From NWN Lexicon
Jump to navigationJump to search



PlayerHasHead(object)

Checks if a PC has the head of the assassination victim.

int PlayerHasHead(
    object oPC
);

Parameters

oPC

Player to check for head


Description

Returns TRUE if oPC possesses the victim’s head, which is retrieved with the function GetAssassinHead(); Returns FALSE in all other cases, including errors.



Remarks

Found in nw_j_assassin.nss line 332

Hardly useful in everyday scripting.


Requirements

#include " nw_j_assassin "

Version

1.28

See Also

functions: 

SetAssassinHead



 author: Lilac Soul, additional contributor(s): Lilac Soul