Author Topic: Help with Zone Events  (Read 471 times)

I want to make a turret that keeps shooting you untill you leave the zone, but it just shoots once and thats it. How do I keep making it shoot untill I leave the zone?

Make an invisible baseplate for the "zone". Name the turret brick and put the events on the baseplate:

Code: [Select]
onPlayerTouch >> Named Brick>Turret >> fireRelay
Then put events on the turret:

Code: [Select]
onRelay >> Self >> spawnProjectile >> whateverTurretBullet

Make an invisible baseplate for the "zone". Name the turret brick and put the events on the baseplate:

Code: [Select]
onPlayerTouch >> Named Brick>Turret >> fireRelay
Then put events on the turret:

Code: [Select]
onRelay >> Self >> spawnProjectile >> whateverTurretBullet

But I want it to stop when the player leaves the brick D:

it will stop then....

Im talking aobut ZONE events. Hes just using regular default events.

better yet, add: onplayerenterzone>self>setzone
that will keep making the player enter the zone and keep using the onplayerenterzone event to trigger your turret

better yet, add: onplayerenterzone>self>setzone
that will keep making the player enter the zone and keep using the onplayerenterzone event to trigger your turret

Thank you. Im gonna try this.