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.

Author
Message
Southside Games
16
Years of Service
User Offline
Joined: 1st Jan 2010
Location: Don\'t tell me what to do!
Posted: 4th Feb 2012 02:34 Edited at: 4th Feb 2012 04:10
Hello.

So I'm working on an RTS. I'm at the part now were you can select units by making a drag box. however my first test is not working. The camera can change hight and what not and I'm not sure how to use pick screen correctly. Mostly the field of distance. Is that the distance to zero on the plain, the cameras hight, or something else? any ideas?

Thanks much!

edit: what I'm asking for in specific is help with just the code pick screen. I can do the rest. but when I use pick screen it does not work correctly.

Ortu
DBPro Master
18
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 4th Feb 2012 16:38
I believe it's the vector distance, that is the distance straight out from the camera's current view.

you may also want to look into the pick object command


Southside Games
16
Years of Service
User Offline
Joined: 1st Jan 2010
Location: Don\'t tell me what to do!
Posted: 4th Feb 2012 17:23 Edited at: 4th Feb 2012 17:34
edit 2: I got it to work. thanks much!

Login to post a reply

Server time is: 2026-07-10 09:57:39
Your offset time is: 2026-07-10 09:57:39