PCAcceptedPlot
From NWN Lexicon
Contents |
[edit] PCAcceptedPlot(object)
Returns true if the player accepted the assassin plot.
int PCAcceptedPlot( object oPC );
[edit] Parameters
oPC
The PC to check
[edit] 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.
[edit] 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.
[edit] Requirements
#include " nw_j_assassin "
[edit] Version
1.28
[edit] See Also
author: Lilac Soul, additional contributor(s): Lilac Soul