Erm, either that's not what I'm looking for, or I don't know how to use it.
Let's say this is what's in my @MainLoop
@MainLoop {
SetCollisionA(GetX, GetY, 32);
SetCollisionB(GetX, GetY, 24);
if(frame==60){
CreateShot01(150, 120, 3, GetAngleToPlayer, RED01, 10);
frame = 0;
}
frame++;
}
Now, how would I get "CreatShot01" to aim at the player? Obviously, it's the "GetAngleToPlayer" that's making it shoot off away, because of it's coordinates from the BOSS to player. But what can I use in place of it so that the bullet will aim directly at the player from the spawning point of the bullet? Maybe an example of the entire '@Mainloop' would clear things up for me...