So I made a simple constant-stream laser turret that shoots vertically. I used the instant-hit laser tutorial to set it up. My goal is to have more than one turret and each laser-length will be set independently. What I have working: two lasers on-screen (or more) with independent lasers and independent ending markers for calculating the length. They're the white dots floating in the air above each laser (tough to see). I want the player to 'break' the beam and shorten it. Simple enough, but assigning to multiple lasers independently alludes me completely.
What currently happens: If the player enters the beam on the left, both lasers lengths are shortened. If the player enters the beam on the right, nothing happens.
What I want: Each laser should be adjusted independently. I haven't a clue how to achieve that.
A shot for reference:
<img src="http://img.photobucket.com/albums/v625/CubedOCR/Blight/help1.jpg" border="0" />
My current events:
<img src="http://www.adamprack.com/help2.jpg" border="0" />
vert: the turret thing
redbullet: bullet behavior object, instant-hit, invisible
rayend: set to last point of bullet, for judging distance
laser: duh
Sprite: player character
Any help is appreciated!