Page 1 of 1

What's the variable for the level of a unit?

Posted: Thu Jan 22, 2015 8:52 pm
by GottaLove88s
Hi guys,

Is there a variable which will report the level (geographic height) of a specific x,y coordinate on the map?
It's useful to me when I've got multi-level hills and valleys... I'd like to increase line of sight (LOS) for higher units, and decrease LOS for lower ones...

See also -> viewtopic.php?f=312&t=55299#p515365

Re: What's the variable for the level of a unit?

Posted: Fri Jan 23, 2015 4:30 pm
by pipfromslitherine
GetTileHeight wasn't hard to find ;)

Cheers

Pip

Re: What's the variable for the level of a unit?

Posted: Fri Jan 23, 2015 7:10 pm
by GottaLove88s
Doh! Thanks Pip... :-)