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 / Fortune telling -- Get Ground Height()

Author
Message
LREM 8888
22
Years of Service
User Offline
Joined: 15th Mar 2003
Location: United Kingdom
Posted: 18th May 2003 22:25
Get Ground Height() really is a pretty neat function, giving you a y value for a character or the camera and everything, but what if you have one matrix on top of the other? What will happen? Do you just do some code like this:



That code would probably worked, if only there was such thing as Do Until... in DarkBasic, and there was such function as No More Ground To Cover()...
An orange can't be a tomato but a tomato can be orange...
sicjoshsic
22
Years of Service
User Offline
Joined: 8th May 2003
Location: United Kingdom
Posted: 18th May 2003 23:49
ermmm.. if you mean what i think you mean, then this kind of thing is in EVERY matrix editor, you have to put a parameter ito the function to tell it how big the matrix is, the (eg, might not be correct):


John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 19th May 2003 05:54
I have NO clue what your asking, or else I would help you Whats your question and goal anyhow?

RPGamer

Current Project: Eternal Destiny
Questions? Comments? Suggestions? Go to the Eternal Destiny Forum!
arras
22
Years of Service
User Offline
Joined: 3rd Feb 2003
Location: Slovakia
Posted: 21st May 2003 15:04
I dont understand neighter...

If you have two or even more matrixs over each other, there is no problem to solve.

command is:
Return Value=GET GROUND HEIGHT(Matrix Number, X, Z)

if you vant to have height on specific matrix you just specifi his number. If you need highest value you have to check each of them and compare results...were is the problem???
LREM 8888
22
Years of Service
User Offline
Joined: 15th Mar 2003
Location: United Kingdom
Posted: 9th Jun 2003 23:15
Woah.. Wait a sec. For Get Ground Height() you can specify a matrix number???????? Ah, sorry about that; My mistake. I thought you couldn't and so I wasn't sure which matrix height it would give you... Next time I'll read the manual before I post something...

An orange can't be a tomato but a tomato can be orange...
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 10th Jun 2003 01:22
Always a good idea....

Current Project: Eternal Destiny
Questions? Comments? Suggestions? Go to the Eternal Destiny Forum!

Login to post a reply

Server time is: 2025-05-19 07:30:45
Your offset time is: 2025-05-19 07:30:45