MMF2 - Multiple objects rotating around the player?
Hey everyone, i'm having a little issue concerning the rotation part of the Clickteam Movement Controller.
I have a character with a standard 8-movement controller, and an active with the rotation controller (with "create at start" disabled).
In the event editor, I have a start of frame loop called "Bullet Creator" that loops 10 times. On this loop, the active is created, and it's starting angle is altered so that they are evenly spaced out.
On loop "Bullet Creator"
> Create "active" at (0,0) layer 1 [create new objects]
> Set object to "active" [Clickteam Movement Controller]
> Set current angle to 360/10*LoopIndex("Bullet Creator") [Clickteam Movement Controller]
I also have a second always loop called "Bullet Position" that loops 1 time. This loop is supposed to move the centre points of those actives to the players position, so that they're constantly rotating around the player.
On loop "Bullet Position"
> Set object to "active" [Clickteam Movement Controller]
> Set centre X to X("player") [ditto]
> Set centre Y to Y("player") [ditto again]
However, the "bullet position" loop only moves the first active that was created, and not any of the others. I've tried applying an object qualifier to the active and referencing that instead, but that still doesn't work.
So what am I doing wrong?