Line of Sight Range

New releases and general discussions.

Post » Sat Oct 18, 2008 2:33 am

I think it would be useful for the line of sight behavior to have a range option. It would be helpful in the cases where you don't want an enemy to see you from all across the level. Of course, I'd think it would be even cooler if you could have a forward range and a backward range, basically so enemies could detect stuff farther in front of them than behind them. :) Any chance this could be added?
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Sat Oct 18, 2008 4:41 am

[quote="linkman2004":294eihdk]I think it would be useful for the line of sight behavior to have a range option. It would be helpful in the cases where you don't want an enemy to see you from all across the level. Of course, I'd think it would be even cooler if you could have a forward range and a backward range, basically so enemies could detect stuff farther in front of them than behind them. :) Any chance this could be added?[/quote:294eihdk]

I would do this using an x.y comparison between the enemy and the player. I guess it would make it easier though if there was a range option so you wouldn't have to do this for every instance of something.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests