How do I pick the acquired object in 'on target acquired'

Get help using Construct 2

Post » Thu Sep 25, 2014 4:43 pm

Use case:

I would like to pin a targeting reticule over the targeted sprite, so that the player knows which object the turret is shooting at.

I would also like to know if I can access how much time is left on the turrent timer

Can this be done without a plugin?
Developing Surolace, the survival role playing space game.

surolace-survival-role-playing-space-game_t116953
B
14
S
4
Posts: 303
Reputation: 1,730

Post » Thu Sep 25, 2014 5:08 pm

The turret behavior has the TargetUID expression that can be used in conjunction with "Pick by unique ID".

As for the remaining time until the next shot, I guess you could always use a timer behavior for that.
B
74
S
31
G
26
Posts: 994
Reputation: 20,198

Post » Thu Sep 25, 2014 5:12 pm

Sweet thanks!
Developing Surolace, the survival role playing space game.

surolace-survival-role-playing-space-game_t116953
B
14
S
4
Posts: 303
Reputation: 1,730


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests