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 / how do u get the object # using intersect object?

Author
Message
David iz cool
20
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 7th Apr 2010 15:50
i need to know how to get the object # of the land my player is currently standing on.how do u get this????
Scorpyo
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 7th Apr 2010 23:15
This is an idea

Scorpyo
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 7th Apr 2010 23:18
change this line:
if pcheck#=0.0 then h#=0.0

to:
if pcheck#=0.0 then h#=0.0:planenum=0
David iz cool
20
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 8th Apr 2010 20:54
thank u soo much scorpyo!
now i just need to study ur code lol




offtopic but i havent been here in a long time,bcoz im always working on my huge rpg im making. whats going on with dbp? still trying to stay alive? will there be any improvements or new versions someday??

Login to post a reply

Server time is: 2026-07-26 15:31:31
Your offset time is: 2026-07-26 15:31:31