Jump to content
Sign in to follow this  
kocrachon

if flying to low, then...

Recommended Posts

So I am trying to make a UAV stay at an altitude of 700, and to do so, I am trying to make a trigger that activates when ever the UAV flys below 700 (to give it some room for terrain and such).

right now here is what I have...

UAV1 unitsBelowHeight 500

UAV1 setpos [ getPos UAV1 select 0, getPos UAV1 select 1, 700]  

However, this is not working, it never sets it to the right heights, anyone able to help?

Share this post


Link to post
Share on other sites

You could try with this:

If you, in the init line of the UAV, place this syntax: this flyinheight 700 It should stay in 700...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×