How do I Retrive IID of The Overlapping Objects

Get help using Construct 2

Post » Sat Jan 17, 2015 7:07 am

For example: I have a circle that overlap with two enemies.
How to retrieve each IID of the enemies?
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Sat Jan 17, 2015 7:58 am

this seems to work
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 » Sat Jan 17, 2015 9:09 am

Hi Codah, first of all ,thank you... but it's not quite what I have in mind.
The circle can touch 1 or 2 or 6 enemies, and how to get each of their IID or UID?
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Sat Jan 17, 2015 9:10 am

you said 'two'. Please come out with all the info at first :geek:
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Sat Jan 17, 2015 9:16 am

Sorry I didn't explain it well, master Codah.
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Sat Jan 17, 2015 9:20 am

lol master. so is it 1, 2 or 6 only? or 1-6?

edit: anyway see if you like it
overlapping_iid_2.capx

edit 2: I removed unncessary stuff from previous example
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 » Sat Jan 17, 2015 10:53 am

1-6, well it could be 24 too..basically unlimited

Your wisdom has enlighten my way... it works...
B
10
S
5
Posts: 220
Reputation: 1,464


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest