Need help getting a projectile to accelerate to correct place
stannen
Member Posts: 16
I'm trying to get my projectiles to move to a specific X value and a random Y value. The X position works fine but my actors just move to the same Y position every time. For the Y value I'm using something like "random(30,290)" which I thought should work, but it doesn't.
Does anyone know what I'm doing wrong?
Does anyone know what I'm doing wrong?
Comments
Every xx seconds change.attribute:
-Self.integer to random(30,290)
When *someting* is true accelerate towards
X:200
Y:self.integer
And keep in mind that "move to" behavior is not usable with random values..
And I guess I shouldn't have said I was trying to get my projectiles to "move to" a position since I'm actually telling them to "accelerate towards." I've only been messing with this stuff for two days and I'm still learning all the technical jargon