icon target set position to enemy

Get help using Construct 2

Post » Tue Feb 11, 2014 9:21 am

I am trying some time ago to set position to enemy one target icon, but no way run.

I use a capx modified I have found in forum, I hope no problem with this because is only for example purpose...

I try to set X and Y when touch in screen to the position where I touch and then I want the icon target set position to enemy i have touch until it get destroy...

But I can do the target icon follow to the enemy...

Capx

Thanks in advance for your help!! :)
B
17
S
5
G
2
Posts: 173
Reputation: 2,090

Post » Tue Feb 11, 2014 7:51 pm

I'm going crazy with this... i am trying some ideas but I cant do the icon-enemy get follow the enemy and get destroy when the enemy die...

Any idea on how to do this??
B
17
S
5
G
2
Posts: 173
Reputation: 2,090

Post » Tue Feb 11, 2014 8:37 pm

like this?
capx
B
25
S
4
G
2
Posts: 99
Reputation: 2,498

Post » Tue Feb 11, 2014 8:37 pm

August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Wed Feb 12, 2014 8:32 am

@Moebios @RamPackWobble

Thanks for your kindness help!!!!

Finally:

Touch --- On Touched --enemy:
turret --- turret acquire target enemy
icon target set position to enemy
icon target pin pin to enemy (position&angle)

So you target an enemy if you touch realy the enemy and no close to him. When destroy the enemy destroy the target or you can change the target when you want. Now work fine for me :)

Thanks again!!!! :)Tarkion2014-02-12 08:33:26
B
17
S
5
G
2
Posts: 173
Reputation: 2,090


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 10 guests