I told guyA in my game to go to "collide" to guyB with the command "Set angle towards" guyBx y
Problem is that sometimes guyB isn't in game (it depends if it's killed or not, and GuyA gets mad, going to 0x 0Y and giggling.
Is there a way i can tell guyA to go to guyB ONLY if this one is there?
Or, even better, is there a better way to issue this action?
Develop games in your browser. Powerful, performant & highly capable.
Multiple ways to solve i guess.
Either go looking for the "For each" -> guyB
or guyB -> is on layer or is-on-screen?
or Object UID exists.
hope that might help you.
I officially love you, please pardon my nubbness :P