// Trap's OnTriggered Event
void main()
{
}
And the result was the same, the trap disappeared but no damage was inflicted. Is this just one of issues which remain in NWN2, or did I forget to do something?
Any help appreciated,
DFDark
// Trap's OnTriggered Event
void main()
{
}
Guest_Chaos Wielder_*
Chaos Wielder wrote...
I imagine that the game thinks your 'on triggered' event is supposed to be what the real trap is so it doesn't want to "double up", so to speak, and have two traps go off at the same time.
void main()
{
//Fire the default script
string sScript = Get2DAString("traps", "TrapScript", GetTrapBaseType(OBJECT_SELF));
ExecuteScript(sScript, OBJECT_SELF);
//Fire a custom script
sScript = GetLocalString(OBJECT_SELF, "MyOnTriggeredScript");
ExecuteScript(sScript, OBJECT_SELF);
}
Modifié par The Fred, 31 octobre 2010 - 01:29 .