This is confusing the compiler and won't give me a error message to work with, I can hit save but it dose not save and when I leave the script box it refuses to save it. BTW is there a FO3 version of iState?
What I want to do is summon an activator to run a script to fire a weapon then remove the activator.
short iStatefloat fTimerbegin OnTriggerEnter player set fTimer to 0 set iState to 1endbegin GameMode if (fTimer >= 2) && (iState == 2) Disable ZippyActivatorPRIMARYdgl MarkForDelete ZippyActivatorPRIMARYdgl set iState to 0 elseif (fTimer >= 1) && (iState == 1) Fireweapon WeapzippyDGLDUMMYPRIMARY set iState to 2 endif set fTimer to fTimer + GetSecondsPassed endifend