Hmm...Well this script doesn't even compile. You started with an "else if" instead of just an "if".
#include "nw_i0_plot"
const int EVENT_USER_DEFINED_PRESPAWN = 1510;
const int EVENT_USER_DEFINED_POSTSPAWN = 1511;
void main()
{
int nUser = GetUserDefinedEventNumber();
int iRan = d3(); \\\\ Ignore this, it just determines my NPC's reaction
object oNPC = OBJECT_SELF;
object oPC = GetLocalObject(GetModule(), "o_magicuser");
else if(nUser == EVENT_DISTURBED) // DISTURBED
{
// This event triggers when the NPC loses his I Am Disturbed Token. It
Did this compile for you? Is there any of this script missing?
Modifié par GhostOfGod, 25 mars 2011 - 08:11 .