Hey guys - there are these conveyor belts in the game I'm learning from and I'm trying to "kill" them ( delete them) at a certain point
when the player reaches ta coordinate in the map.
Conveyor belt Code
Now here's the code for the part of the map where I'm trying to destroy these belts
what kinda of code can I use instead of offscreenkill ?
I'm trying to kill the belt at say...
"kill belt"
coords 100 800 354
at 685
Any ideas are appreciated.
when the player reaches ta coordinate in the map.
Conveyor belt Code
Code:
name belt2
type none
shadow 0
antigravity 100
facing 1
setlayer 1
offscreenkill 1400
anim idle #BELTS MOVES left
loop 1
delay 20
offset 1170 32
frame data/levels/st2b/bel3.gif
frame data/levels/st2b/bel2.gif
frame data/levels/st2b/bel1.gif
Now here's the code for the part of the map where I'm trying to destroy these belts
Code:
#-------------------------------------
Group 1 1
at 0
scrollx 450 3600
at 0
spawn brrow1
flip 1
coords 540 1306 80
at 0
spawn timer
coords 100 800 354
at 685
#-------------------------------------
what kinda of code can I use instead of offscreenkill ?
I'm trying to kill the belt at say...
"kill belt"
coords 100 800 354
at 685
Any ideas are appreciated.