Jump to content
kibaBG

flyInHeight doesn't work for support

Recommended Posts

I am trying to make paradrop plane to fly a little bit higher, the feeling of flying Tu-95 (RHS) 100 m above head is surreal. Using the support module to drop a crate. 

_this flyInHeight 500 ;
//plane is flying like kamikadze

or 
 

_this flyInHeight [500,true];
//gives error

 

Share this post


Link to post
Share on other sites

I am not using helicopter because the paradrop is needed in battle and with lot of AA unit it will be shredded to bits. 

Share this post


Link to post
Share on other sites
7 hours ago, kibaBG said:

I am trying to make paradrop plane to fly a little bit higher, the feeling of flying Tu-95 (RHS) 100 m above head is surreal. Using the support module to drop a crate. 


_this flyInHeight 500 ;
//plane is flying like kamikadze

or 
 


_this flyInHeight [500,true];
//gives error

 

 

I assume you checked that your input _this is the plane and not something else.

 

While you wait for 2.14 try using both and the ASL variant like so:

 

aircraft flyInHeight 500;

aircraft flyInHeightASL [500, 500, 500];

 

If that still doesn't work just try with a vanilla jet to be sure.

  • Like 3

Share this post


Link to post
Share on other sites
Quote

I assume you checked that your input _this is the plane and not something else.

 

The module itself states "_this" refers to the aircraft. And is working really well when I change the name of its group
 

(group _this) setGroupIdGlobal ["Bear"];                                             

or when making custom crate. Everything works except damn "flyInHeight" .  

Share this post


Link to post
Share on other sites
9 hours ago, kibaBG said:

The module itself states "_this" refers to the aircraft

 

What module would that be?

Is the plane created by the module and if so, is it an actual flying AI controlled plane?

  • Like 1

Share this post


Link to post
Share on other sites
11 hours ago, kibaBG said:

 

The module itself states "_this" refers to the aircraft. And is working really well when I change the name of its group
 


(group _this) setGroupIdGlobal ["Bear"];                                             

or when making custom crate. Everything works except damn "flyInHeight" .  

 

Just delay it:
_this spawn {sleep 1; _this flyInHeight 500};

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
11 hours ago, pierremgi said:

 

Just delay it:
_this spawn {sleep 1; _this flyInHeight 500};

 

You magic saves the day again. Its working really well. 

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

×