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
17
S
4
G
1
Posts: 14
Reputation: 1,503

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
21
G
222
Posts: 3,652
Reputation: 124,733

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
17
S
4
G
1
Posts: 14
Reputation: 1,503

Post » Sat Jul 30, 2016 11:32 pm

ImageImageImage
B
71
S
21
G
222
Posts: 3,652
Reputation: 124,733

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
17
S
4
G
1
Posts: 14
Reputation: 1,503


Return to How do I....?

Who is online

Users browsing this forum: SputnikCZ and 3 guests