How do I Spawn units from picked Object

Get help using Construct 2

Post » Wed Aug 13, 2014 4:19 pm

Ok... i test so many way but no one work :(

if i take Pick All instance. working well... but i need pick only selected instance (for pick by sprite.UID not working O.o) Maybe someone help.
idea is.
click and select an object. (friendly)
click to "enemy" object > Selected friendly spawn "units" and send him against "enemy" (clicked object)

below u can see my last way... :/

clickandpick.png
You do not have the required permissions to view the files attached to this post.
B
32
S
9
G
5
Posts: 27
Reputation: 5,285

Post » Wed Aug 13, 2014 4:53 pm

Upload the file. i fix for you
B
48
S
9
G
10
Posts: 200
Reputation: 8,258

Post » Wed Aug 13, 2014 5:49 pm

Ok i am curious about where i misstake :/
You do not have the required permissions to view the files attached to this post.
B
32
S
9
G
5
Posts: 27
Reputation: 5,285

Post » Thu Aug 14, 2014 2:22 am

I had a go. Your main problem was not doing a 'pick all' in event 5. There are other improvements that could be done, but I only did a few essentials. One thing I did to make life easier was to create a container with sprite and planet_pulsar.

test_codah.png


test_Jaczkulinek_codah.capx
You do not have the required permissions to view the files attached to this post.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Aug 14, 2014 2:49 pm

Working well if i see thank you this way i not have tested... :D Again thanks Codah :) :thumbup: :idea:
B
32
S
9
G
5
Posts: 27
Reputation: 5,285


Return to How do I....?

Who is online

Users browsing this forum: Twili, Yahoo [Bot] and 1 guest