I'm not sure if this is possible with data or triggers, but basically I'm wondering if there's any way to prevent a unit from going below a certain height. Not all units, just some.
Do you mean something like preventing them from going down ramps to low ground? Hmm... you could just put a region everywhere you don't want them to go, with a trigger that stops the unit and moves it back.
Not quite, effectively I want say a flying unit to always be at least say 10 units in height, regardless of how low the ground is beneath it. Then as the ground gets higher the unit would go up, and if it got lower the unit would go down, but only until it hit the 10 mark, where it would stay until it hits higher ground.
Thought I'd mention that when I was playing around with extreme heights and drops I noticed flyers wouldn't change altitude when passing over drastic decreases unless an actual cliff was present, probably doesn't solve anything but may give you another option.
@chriscisco: I know that, but I want a uniform level, as the ground can be at different heights, going fom say -3 to +8 for example. Which would change the nits's height from +7 to +18, which doesn't help unfortunately. Thanks anyways though.
@BumpintheNight: I'll give it a try, thanks. Hopefully will have the effect I'm looking for.
@KineMorto: No, not a missile, or and FPS, though I didn't think of movers, it might be something I could look into.
Thanks all for your help. Much apprieciated.
Edit: Got it sorted with movers. Can't believe how easy it was.
I'm not sure if this is possible with data or triggers, but basically I'm wondering if there's any way to prevent a unit from going below a certain height. Not all units, just some.
Any ideas?
Do you mean something like preventing them from going down ramps to low ground? Hmm... you could just put a region everywhere you don't want them to go, with a trigger that stops the unit and moves it back.
Not quite, effectively I want say a flying unit to always be at least say 10 units in height, regardless of how low the ground is beneath it. Then as the ground gets higher the unit would go up, and if it got lower the unit would go down, but only until it hit the 10 mark, where it would stay until it hits higher ground.
Setting the Unit UI Height to 10 will make sure it is always 10 above the ground level, no matter how high or low that is.
Thought I'd mention that when I was playing around with extreme heights and drops I noticed flyers wouldn't change altitude when passing over drastic decreases unless an actual cliff was present, probably doesn't solve anything but may give you another option.
Are you having trouble with a missile that you are firing in a FPS type of environment "falling" into cliffs?
If so set the mover to air, then when you set the height of the unit it will not fall into your cliffs.
@chriscisco: I know that, but I want a uniform level, as the ground can be at different heights, going fom say -3 to +8 for example. Which would change the nits's height from +7 to +18, which doesn't help unfortunately. Thanks anyways though.
@BumpintheNight: I'll give it a try, thanks. Hopefully will have the effect I'm looking for.
@KineMorto: No, not a missile, or and FPS, though I didn't think of movers, it might be something I could look into.
Thanks all for your help. Much apprieciated.
Edit: Got it sorted with movers. Can't believe how easy it was.