PCAcceptedPlot
From NWN Lexicon
Jump to navigationJump to search
PCAcceptedPlot(object)
Returns true if the player accepted the assassin plot.
int PCAcceptedPlot(
object oPC
);
Parameters
oPC
The PC to check
Description
Checks for a local variable on everybody in oPCâs party. Returns TRUE if variable is set to TRUE on anyone in the party. If not, or if oPC is not a valid object, it returns FALSE.
Remarks
Found in nw_j_assassin.nss on line 283
I am not sure where this local variable is set. Probably by a script that fires when PC accepts the assassination plot. Thereâs no really good reason to use Biowareâs function for this â youâd be better off making a system of your own so you know exactly how and when everything works.
Requirements
#include " nw_j_assassin "
Version
1.28
See Also
author: Lilac Soul, additional contributor(s): Lilac Soul