SetLocalPlotIntOnCharacter

From NWN Lexicon
Jump to navigationJump to search



SetLocalPlotIntOnCharacter(object, int)

Sets a plot-specific integer on a creature.

void SetLocalPlotIntOnCharacter(
    object oNPC,
    int nPlotStateIndex
);

Parameters

oNPC

Creature or PC to set the plot integer on.

nPlotStateIndex

Plot state integer to set.


Description

Sets a local integer on oNPC with the name "PLOT2Q4" + GetTag(oNPC). This is used for tracking the movement/state of the plot.



Remarks

Found in nw_i0_2q4luskan.nss on line 28.


Requirements

#include " nw_i0_2q4luskan "

Version

1.28

See Also

functions: 

GetLocalPlotIntFromCharacter



 author: Charles Feduke