Jump to content
Sign in to follow this  
kocrachon

Super easy!

Recommended Posts

Basically I want to make it to where a trigger goes off when a helicopter reaches a specific altitude. All I really need to know is how do I type that in the condition field? I want it to happen when the Blackhawk named Helo1 reaches an altitude of 50 because it is currently flying at an altitude of 20. I need to to fly straight up, then move forward (or else it hits a building).

Share this post


Link to post
Share on other sites

Give the chopper a name, here we use "helo1".

In the condition line type:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">getpos helo1 select 2 > 50

In the future, please use a more descriptive thread title so one can see what it is about without looking into it. wink_o.gif

Share this post


Link to post
Share on other sites

Hehe Wolle was faster

In the condition line type:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">getPos helo1 select 2 > 50

or

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">getPosASL helo1 select 2 > 50

Best regards,

Mr-Murray

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  

×