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
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

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
96
S
25
G
20
Posts: 3,054
Reputation: 22,642


Return to How do I....?

Who is online

Users browsing this forum: Matthew de and 25 guests