I need a function that tells me the water height value, and also a way to check a unit's current Z coordinate. I was trying to find a way to combine Pick Each Unit and Position of Unit, but didn't get anywhere. Couldn't figure out how to link the two together. Any ideas?
Thanks.
p.s. If there isn't a way to return the water height value directly, that's OK. I can create and control a variable integer for it if I have to. The Z position I could still use some help on.
And Unit Height will return the elevation and not the unit's "art height" above ground (ground units = 0, overlords = 4)? I'll start playing with that and get back to you. Thanks!
I need a function that tells me the water height value, and also a way to check a unit's current Z coordinate. I was trying to find a way to combine Pick Each Unit and Position of Unit, but didn't get anywhere. Couldn't figure out how to link the two together. Any ideas?
Thanks.
p.s. If there isn't a way to return the water height value directly, that's OK. I can create and control a variable integer for it if I have to. The Z position I could still use some help on.
Both "Get Unit Height" and "Get Height At Point" used together is what I used.
@Grogian: Go
And Unit Height will return the elevation and not the unit's "art height" above ground (ground units = 0, overlords = 4)? I'll start playing with that and get back to you. Thanks!
OK, I went with a Pick Unit - "Ground height at (Position of (Picked Unit))" trigger, and it is working beautifully.