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.

Bug Reports / don't work get height terrain

Author
Message
greenpavel
12
Years of Service
User Offline
Joined: 13th Jun 2011
Location:
Posted: 13th Jun 2011 08:40 Edited at: 26th Jun 2012 07:12
terrain is not exist. WHY?


translated translator yandex or google
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 13th Jun 2011 13:17
You are using the wrong command. You seem to be using the Advanced Terrain commands in which case you need to use get terrain ground height

From the free Help files provided by Sixty Squares (I think ):

Quote: "GET TERRAIN GROUND HEIGHT

Returns the height of the terrain at the given X and Z coordinates. It's just like the GET GROUND HEIGHT command for a matrix, but it's for Advanced Terrain.

Syntax
return float = GET TERRAIN GROUND HEIGHT( Terrain ID, X, Z )


Related Information
RETURN TO COMMAND LIST


Example Code
Advanced Terrain Original Example (HTML Preview)
Advanced Terrain Original Example (.DBPRO)
Advanced Terrain Simple Example (HTML Preview)
Advanced Terrain Simple Example (.DBPRO)
"
greenpavel
12
Years of Service
User Offline
Joined: 13th Jun 2011
Location:
Posted: 13th Jun 2011 21:04
Thanks you very mach.

Login to post a reply

Server time is: 2024-03-29 15:12:53
Your offset time is: 2024-03-29 15:12:53