nnn
First, looking at your script you want the character (corpse) to disappear after 10 sec's ? Correct ?
Did/do you want corpse to disappear after player see's the corpse, or after what?
Second, are you spawning this corpse when player gets close? Or is it there already?
To help you along with simple testing, make sure your "corpse" is dynamic first (not static)
Then set the corpse Start AI to appear1.fpi and the Destroy AI to disappear1.fpi
Use this for the corpse Main AI...
Artificial Intelligence Script
;Header
desc = script dead up
;Triggers
:state=0,plrdistwithin=200:etimerstart,state=1
:state=1,etimergreater=10000:destroy
;End of Script
Place your player marker about 4-5 segments away, then test run.
Have player walk up to corpse, when your within 2 segments timer will trigger.
After 10 sec's corpse will disappear
My games never have bugs. They just develop random features..
Lots and lots of random features...