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 / get ground height

Author
Message
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 14th Nov 2003 06:08 Edited at: 14th Nov 2003 06:12
i searched, and found nothing!
so im posting

for some reason my get ground height doesnt work.

any ideas?
Quote: "the help says this under get ground height:
This command will return the matrix height at the specified grid point coordinate. do not confuse the grid reference x and z values with coordinate values. the grid reference values are measured per tile, not per 3d space unit. The matrix number and grid reference values should be interger valuse.

SYNTAX:
Return Value=GET GROUND HEIGHT(Matrix Number, X, Z)"


Two words, moo.
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 14th Nov 2003 09:50
It IS working, you just have it around the wrong way.

Change:


To;


Cos, what yuo are trying to do, is get the ground height, BEFORE the variable of p1z is declared, therefore, it is set at 0, and gets the ground height at the coordinates of 1100,0...

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 14th Nov 2003 18:19
haha, i do that a lot, thanx. i just like putting everything in alphabettical order

Two words, moo.

Login to post a reply

Server time is: 2025-05-21 16:08:57
Your offset time is: 2025-05-21 16:08:57