i'm not a boss at programming but try this little
little code of mine.
Add actor "MainActor"
Add Event Create Actor
Add Action Create Timer // and create ur timer.
Now :
Add Event Timer
Add Action Script Editor and write :
- Code: Select all
x=rand(+-xscreen);
y=rand(+-yscreen);
It's done.
MainActor should change position and get a random one after timer. As u see no need for me to destror actor.U can eventually Destroyactor and after Destroy, Create it elswhere using the code that i've gave u.
...please, don't laugh at my poor code
I hope i helped u.
