Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / How would you check to see if you in the view range of a monster?

Author
Message
Oneka
20
Years of Service
User Offline
Joined: 24th Apr 2004
Location: Hampton,VA
Posted: 19th Jun 2004 01:37
Ok How would I make a system that if your in the view range of a monster it will attack you and if not it wont?

A 1 man team
EVIL SIG!
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 19th Jun 2004 04:56
one method would be to create a polygon with an invisible texture and perform a distance check on it. this would allow you to check for a intended angle as the polygon would be setup to handle the width of view.

If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself
Oneka
20
Years of Service
User Offline
Joined: 24th Apr 2004
Location: Hampton,VA
Posted: 19th Jun 2004 05:09
um I dont understand what you said but already I have a distance thingy..

A 1 man team
EVIL SIG!

Login to post a reply

Server time is: 2024-11-26 22:37:07
Your offset time is: 2024-11-26 22:37:07