I have created a simple frame in my game where there is a good ship and a bad ship. Each ship has separate health and health bars that follow them. They also can be multiplied and act independently within the game. When their health bars reach zero they are destroyed. I have them randomly select a different ship to look at and rotate towards then fire a bullet (with bouncy ball movement).
Here is where my problem is.
How do I set the direction of each projectile once independently from one another and not have a constant "Homing" property?
The homing property is interesting and ill use it for a variation of ship. but for now i want a regular behaving bullet.
Ive tried giving the bullet a behavior that had:
+Run this event once [set direction of bullet = to (angle of {battleship}/11.25)] angle divided by 11.25 for a 32 direction conversion. and the battleship is the object that is firing the bullet.
In hopes that it would happen once each time a bullet was created by the behavior nested within each battleship. But it doesn't work. While an "always" condition makes the bullets work a bit better but it changes mid flight as the ships themselves change position from one another.
I only have the vanilla MMF2 2.0.
Thanks in advance for the help!