Remove Set angle toward after of some seconds

Get help using Construct 2

Post » Mon Jul 23, 2012 10:38 am

Hi all, i'm just wondering if you spawn a homing missile toward to a targeted object, then 3 seconds later, it becomes no longer set angle towards to targeted object and goes to out of window with fixed angle.

Do you have an idea?

Thx!

B
111
S
30
G
28
Posts: 3,106
Reputation: 27,643

Post » Mon Jul 23, 2012 1:54 pm

You can use a boolean "homing" to turn the homing on or off and use an instance variable (number) to create a timer that triggers the boolean.

Example: HomingMissileTimer.capx (r99)
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Mon Jul 23, 2012 9:28 pm

@Nimtrix wow! this is best example!

Thank you a lot for helping me :)
B
111
S
30
G
28
Posts: 3,106
Reputation: 27,643


Return to How do I....?

Who is online

Users browsing this forum: Moot, R0J0hound and 8 guests