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

[Trigger] Terrain Amount

Status
Not open for further replies.
Level 5
Joined
Nov 4, 2006
Messages
132
Is it possible (preferably with GUI) to detect how many squares of certain types of terrain are in a region, because you will be able to change the terrain and I want certain triggers to activate if you have certain amounts of terrain in your area.
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
You can't check where a terrain block ends or starts. You can however check whats the size of your trigger.

Every terrain block is 128x128 warcraft blocks, so multiply the length and width of your region, then divide it by 128 and it will give you the number of blocks that could possible be in it.
 
Status
Not open for further replies.
Top