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.

DarkBASIC Discussion / Cursor positioning

Author
Message
Mucky Muck Ninja
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: im not entirely sure
Posted: 25th Oct 2003 22:12
Could someone please give me a snippet for posiitonin object 500 at the mouse position. Nothing I've tried has worked.

Thanks!

Am I an Idiot...or is everyone else just really smart?
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 26th Oct 2003 01:21
what do you mean?

Provide more details, and give some code so we can try to modify it...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Sly D
22
Years of Service
User Offline
Joined: 15th Oct 2002
Location:
Posted: 26th Oct 2003 01:39
position object 500,mousex(),mousey()... lol
Mucky Muck Ninja
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: im not entirely sure
Posted: 26th Oct 2003 02:29
I mean for like an RTS game and i need a object to be positioned at the mouse x and y

Am I an Idiot...or is everyone else just really smart?
Mucky Muck Ninja
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: im not entirely sure
Posted: 26th Oct 2003 02:30
When I do the suggestion that Cyber_Freak said the sphere acts really weird.

Am I an Idiot...or is everyone else just really smart?
Mussi
22
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 28th Oct 2003 15:34
cuz youre object is in a 3d world and youre mouse can only move 2d

Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb ddr sdram

Login to post a reply

Server time is: 2025-05-21 09:35:35
Your offset time is: 2025-05-21 09:35:35