hello
wanting to destroy entity "Teleporter"
im able to get it to spawn within my wave script
but cant figure out how to destroy it after a different wave
:state=0:dimvar=EnemiesInWavetest10,setvar=EnemiesInWavetest10 0,state=1
:state=1,plrwithinzone=1:settargetname=EWTest_10,activatetarget=1,etimerstart,state=2
:state=2,etimergreater=3000,varless=EnemiesInWavetest10 0:settargetname=EWTest_11,activatetarget=1,settargetname=Teleporter IN,activatetarget=1,settargetname=Teleporter OUT,activatetarget=1,etimerstart,state=3
:state=3,etimergreater=3000,varless=EnemiesInWavetest10 0:settargetname=EWTest_12,activatetarget=1,etimerstart,state=4
:state=4,etimergreater=3000,varless=EnemiesInWavetest10 0:settargetname=EWTest_13,activatetarget=1,settargetname=Teleporter IN,destroy,settargetname=Teleporter OUT,destroy,etimerstart,state=5
:state=5,etimergreater=3000,varless=EnemiesInWavetest10 0:settargetname=EWTest_14,activatetarget=1,etimerstart,state=6
:state=6,etimergreater=3000,varless=EnemiesInWavetest10 0:settargetname=EWTest_15,activatetarget=1,etimerstart,state=7
:state=7,etimergreater=3000,varless=EnemiesInWavetest10 0:settargetname=EWTest_16,activatetarget=1,etimerstart,state=8
:state=8,etimergreater=3000,varless=EnemiesInWavetest10 0:settargetname=EWTest_17,activatetarget=1,etimerstart,state=9
:state=9,etimergreater=3000,varless=EnemiesInWavetest10 0:settargetname=EWTest_18,activatetarget=1,etimerstart,state=10
:state=10,etimergreater=3000,varless=EnemiesInWavetest10 0:settargetname=EWTest_19,activatetarget=1,state=0
here is the line i spawn it
teleporter spawns after killing 1st enemy wave
:state=2,etimergreater=3000,varless=EnemiesInWavetest10 0:settargetname=EWTest_11,activatetarget=1,settargetname=Teleporter IN,activatetarget=1,settargetname=Teleporter OUT,activatetarget=1,etimerstart,state=3
ive tried using destroy several diffferent ways
but nothing im doing seems to work ( or be done right)
im new to scripting so maybe im going about this completly wrong
:state=4,etimergreater=3000,varless=EnemiesInWavetest10 0:settargetname=EWTest_13,activatetarget=1,settargetname=Teleporter IN,destroy,settargetname=Teleporter OUT,destroy,etimerstart,state=5
can someone show me the right way to get it done