hmm first see capx:
http://dl.dropbox.com/u/67034121/forum/move%20to%20angel.capx
how can i make enemy to move to the place object with straight line (bullet behavior will work i think ) but the problem i want it to move to place 1 then 2 then 3 after it comes on 3 it stop 1min then destroy.
*if this could done with 1 variable in (place object) will be better ^^
here after i get helped (the result)
http://dl.dropbox.com/u/67034121/forum/Move%20at%20angle%20full%20fixed.capx
thanks for reading ^^
by salem
I think this is what you are after, I did it by giving the enemy a variable called 'destination'.
Here you go.
As far as I can see, it would be difficult and overly complex to do this with only the place variables. I hope this works for you ;)
sqiddster thanks, can you make it stop when it overlap with the latest place in this example its 3 , so if made this in another level with 9 places it will move all then stop...
Hmm.
for each level you will have to have a variable 'last_number' or something - then add a condition stopping it from moving when its destination is past that.
Develop games in your browser. Powerful, performant & highly capable.
sqiddster thanks again ^^ , simple question the variable is local variable right?? if like this i think i made it but with global variable.
also i made respawn ,also made the click disable when its moving here is the link if someone need it :
You shouldn't use local variable, yes it should be a global variable.
Glad you got it fixed, have fun ;)