• 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.

Map Terrain-Type

Status
Not open for further replies.
Level 3
Joined
May 10, 2014
Messages
41
Hello!

I need to do one, may be, simple thing using triggers.

How can I get terrain-type of whole map, like 'Nortrend' or 'Summer Lordaeron' to use it in condition?

Thank eberybody for any information :as:
 
Level 29
Joined
Sep 26, 2009
Messages
2,596
A map tileset can be only one per map and I don't think you can refer to it in any way (what for really, when it is constant and it can be only one per map?).
Anyway, if you really need to refer to it, you could just store the name in string upon map initialization I guess and then refer to that string and compare whatever you want to compare it with.

Don't you by any chance mean simply a tile used in a specific point in map? Like:
  • (Terrain type at loc_1) Equal to Lordaeron Summer - Dirt
 
Status
Not open for further replies.
Top