• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] How to get the Terrain Type

Status
Not open for further replies.
Level 3
Joined
Dec 27, 2008
Messages
56
JASS:
function Terrain takes nothing returns nothing
 call DisplayTextToForce(GetPlayersAll(),I2S(GetTerrainTypeBJ(GetRectCenter(GetPlayableMapRect()))))
endfunction

I got a very big number...

How to get the integer Terrain Types?:con:

----------------------------------------------------------

 
Level 3
Joined
Dec 27, 2008
Messages
56
I said that in the game was a big number shown about 10000000.
How to get the right nummber of a terrain type?
 
Status
Not open for further replies.
Top