Best way to Line of Sight the same instanced object?

Get help using Construct 2

Post » Sat Jul 30, 2016 1:35 pm

So more specifically how do I line of sight the same object with a different variable instance?

For example

if User has User in Line of Sight and User.Team =/= 1
spawn Bullet

I've tried a lot and I can't get it to work correctly.
B
19
S
5
G
1
Posts: 14
Reputation: 1,653

Post » Sat Jul 30, 2016 3:27 pm

Use a Family. It's easier to differentiate the sighter from the sightee.
ImageImageImage
B
71
S
22
G
267
Posts: 3,806
Reputation: 147,743

Post » Sat Jul 30, 2016 10:57 pm

blackhornet wrote:Use a Family. It's easier to differentiate the sighter from the sightee.


Can you elaborate a bit? I'm not entirely sure what you mean by this
B
19
S
5
G
1
Posts: 14
Reputation: 1,653

Post » Sat Jul 30, 2016 11:32 pm

ImageImageImage
B
71
S
22
G
267
Posts: 3,806
Reputation: 147,743

Post » Sun Jul 31, 2016 3:56 am

blackhornet wrote:http://www.blackhornettechnologies.com/Construct2Stuff/LOS_FamilyHelper.capx


Ahh!! Thank you so much @blackhornet
B
19
S
5
G
1
Posts: 14
Reputation: 1,653


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests