BCH wrote...
Thanks, both!
ShaDoOoW, I've read that when a script is put in the OnTrapTriggered event, the default trap trigger script is overridden. Do you mean you can execute the original script from within the overriding script? If so, please tell me how, as I've never done this before.
Here is what I use.
...
string sImpactScript = GetLocalString(oTrap,"ImpactScript");
if(sImpactScript == "")
{
sImpactScript=Get2DAString("traps","TrapScript",GetTrapBaseType(oTrap));
SetLocalString( oTrap,"ImpactScript",sImpactScript);
}
ExecuteScript(sImpactScript,oTrap);
...