• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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