If I have 5 different turrets on 1 layout, how do i get each turret to have a different fire rate?
i.e: Pause each different Turret from firing
TURRET 1 shoots every 1/2 second, fires 3 times then waits 1/2 second
TURRET 2 shoots every 1 second, fires 5 times then waits 1 second.
So on & so on.
I've been trying for a few days to get this to work. I can get the turrets to fire at different rates but the problems I'm having is:
1) The Turrets rotate toward player even with a Rotate disabled action.
2) I can't get the turrets to pause their firing individually since they are controlled by events/actions.
I was thinking i may have to add instance variables to each turret, but i don't know enough about variables to implement this logic. Even after reading tutorials/ manual and posts on the subject.
Can anyone help with this dilemma? This is the last of my major hurdles for the game mechanics.