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 Professional Discussion / RTS Problem with selecting the destination coordinates

Author
Message
Zubby1970
AGK Backer
18
Years of Service
User Offline
Joined: 22nd May 2008
Playing: AGK Studio Always
Posted: 30th Oct 2010 01:36
Im making a RTS game like command and conquer generals but when we use the pick screen command to select the destination for the tank lets say, then it gives me the wrong coordinates i know im doing something wrong but what.

ive added the code im using.



There can only be one
Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 30th Oct 2010 02:46
,mz#+camera position y() should read mz#+camera position z()

Zubby1970
AGK Backer
18
Years of Service
User Offline
Joined: 22nd May 2008
Playing: AGK Studio Always
Posted: 30th Oct 2010 02:55
thanks Mad Nightmare, still seam to be getting the offset its quite alot as well

There can only be one
Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 30th Oct 2010 05:30
Take out the pick screen command, its not needed at all

Login to post a reply

Server time is: 2026-07-22 04:37:11
Your offset time is: 2026-07-22 04:37:11