Ok, I tried that out on a modified target.fpi script by Heltor, but it doesn't do what I want it to. Let me explain.
The idea is for a target to show up, and, when you shoot it, a door, named door1, opens. The door uses the doorreomte.fpi script, and the target uses the folloring script.
;Artificial Intelligence Script
;Header
desc = target
;Triggers
; Initiate
:state=0:state=1,coloff
:state=1,anywithin=250:state=2
:state=2:incframe=0
:state=2,frameatend=0:state=3
:state=3:setframe=0,state=1
:shotdamage=1:settargetname=door1,state=4
:state=4:activatetarget=1,state=1
;End of Script
The only things I've changed are the last 2 lines; the first 4 lines of code are used to make the target appear and hold a position. I've tried converting the target into a character, but it refuses to show up.
Some people say that I'm crazy... And I agree.
USE PLY'S MOD!