Okay, I want to disable an entity when I shoot it, and not destroy it. That's easy enough with the "leavecorpse.fpi" destroy script, but I want the entity to "come back to life" after about 20 seconds.
Here is what I got so far:
Destroy script:
;Header
desc = Disable Entity for 20 seconds
;Triggers
:state=0:timerstart,animate=0,state=1
:state=1,timergreater=20000:animate=1,runfpidefault=1
;End of Script
I have the entity's "Strength" property set to 1 so that it'll "die" in one shot and run this script.
When I test the game and shoot the entity, it will disable and re-animate after 20 seconds... but after running half of it's animation, it will disable again.
How do I bring the entity back to life?
If I am unable to give it health, then how can I do this without using the destroy script?
The one and only,
~PlystirE~
In Soviet Russia, road forks you!
Mom: I may not be the alpha and omega, but I can sure as hell be yours!