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 / Strange problems in 3.1

Author
Message
rapscaLLion
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 2nd Mar 2003 19:40
Can anyone tell me why this code doesn't work:



and this code does?


Instead of setting each property individually, I set them all with one command. Why does that work while the first example doesn't? Am I missing something here, or is this a bug?

As well, when I use the second piece of code and add the line: lock object on 997 to the end, the hud model disappears. It is visible up until I put in the lock object on code, then it's gone.
Using the camera positioning code (last two lines) the hud appears perfectly centered. But when I use lock object on, the hud disappears...
Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
rapscaLLion
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 3rd Mar 2003 22:46
Does no one know?

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 3rd Mar 2003 23:42
I dont...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 3rd Mar 2003 23:54
Certainly looks like a bug to me
rapscaLLion
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 4th Mar 2003 05:16
alright then fine... oh, and I fixed the camera/lock on thing, if you move the camera it won't work.

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
the architect
22
Years of Service
User Offline
Joined: 6th Jan 2003
Location: United Kingdom
Posted: 4th Mar 2003 05:37
I get the same thing in my game. If the camera starts at 0,0,0 my traget is perfect. However if I attemt to appear somewhere else Iit is not. This appears to be a programing bug and not due to DB.

Login to post a reply

Server time is: 2025-05-18 18:16:05
Your offset time is: 2025-05-18 18:16:05