Set angle towards???

Get help using Construct 2

Post » Sat Jan 04, 2014 1:15 am

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?
B
65
S
22
G
4
Posts: 358
Reputation: 6,555

Post » Sat Jan 04, 2014 1:24 am

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.5Type2014-01-04 01:25:31
B
22
S
7
G
4
Posts: 154
Reputation: 3,709

Post » Sat Jan 04, 2014 1:34 am

I officially love you, please pardon my nubbness :P
B
65
S
22
G
4
Posts: 358
Reputation: 6,555


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, jorgmaquoi, Rable, unicornspitfire and 11 guests