Jump to content
avibird 1

How to get a airplane in the air placed down from the editor to fly to a waypoint.

Recommended Posts

The title says it all. They is not a lot of information on this  issues. I read a few other threads but it seems not to be to clear of the reason why this is and how to really fix the issue. Help please and thank you. Avibird 1 lost my old account (: 

Share this post


Link to post
Share on other sites

No you are wrong the plane will fall to the ground. Even if you place the plane 400 meter of the ground and have the engine on. It will just fall out of the sky.

Share this post


Link to post
Share on other sites
Just now, Mr. Birdman said:

No you are wrong the plane will fall to the ground. Even if you place the plane 400 meter of the ground and have the engine on. It will just fall out of the sky.

never fell from me unless i had it below 20m. Are you sure your plane has a pilot and are you placing it in the eden editor or using script??

Share this post


Link to post
Share on other sites

use a script  waypoint >> 2 click this  into the box when activation of the waypoint  write >>>>  this  setdammage 1;    

 

Good edition by ;)))

 

Share this post


Link to post
Share on other sites

You are all crazy or I am lol choppers are fine when you move the Z position > ground level. But it does not work for planes.  I have attempted multiple things with no luck.   Down below code Was my last attempt but plane still just falls. Help this is so stupid that you can't place a plane in the editor and make it fly from the point when the mission starts. For all the people who say it works I will buy you the next DL content if you show me how with using the code I have attempted to use or using the attributes from the editor.  Avibird 

this setPos [getPos this select 0,getPos this select 1,1000]

Share this post


Link to post
Share on other sites
7 hours ago, Mr. Birdman said:

You are all crazy or I am lol choppers are fine when you move the Z position > ground level. But it does not work for planes.  I have attempted multiple things with no luck.   Down below code Was my last attempt but plane still just falls. Help this is so stupid that you can't place a plane in the editor and make it fly from the point when the mission starts. For all the people who say it works I will buy you the next DL content if you show me how with using the code I have attempted to use or using the attributes from the editor.  Avibird 


this setPos [getPos this select 0,getPos this select 1,1000]

 

Did you read my message and tried or just ignoring and complaining that planes are falling down if placed above ground?

Share this post


Link to post
Share on other sites

As Devastator posted before, setVelocity (and some trigonometry, depending on the planes direction) is the way to go. I use it on an ambient flyby script and it works fine. 

Share this post


Link to post
Share on other sites

Once again, just spawn it with the "FLY" state, it's easier than setting velocity.

Share this post


Link to post
Share on other sites
10 minutes ago, theend3r said:

Once again, just spawn it with the "FLY" state, it's easier than setting velocity.

Is there a "FLY" state in Eden?

 

Edit: Plus, this is setVelocity in action:

this setVelocity [(sin (direction this) * 150),(cos (direction this) * 150),0];

There is also a dev command - setVelocityModelSpace - to make this easier. Hopefully it goes to stable soon (if not already).

Share this post


Link to post
Share on other sites
8 hours ago, BlacKnightBK said:

Not one that I know of

 

 

I can't believe that such a useful feature was removed...

 

Right clicking and choosing "move to flight altitude" does the same.

Share this post


Link to post
Share on other sites

OK I found out my issues lol.

 

@ Devastator_cm yes I do read what people write that is the whole point of this forum :don9: I have been around for a while on this forum since 2008 this is not my real account ( lost it since the last update working on getting it back from bohemia).

 

@ theend3r  there is no "FLY" state in Eden unless I totally missed it.

 

@ Ranlab99 you are correct however I always use  Editor based AI script by trigger by Murklor  to help with overall mission performance with editor placed units since ARMA2 however there is a bug now that makes planes  and boats not spawn in correctly at this time.  I just attempted it with Jebus - Just Editor Based Unit Spawning by DreadPirate and works fine :don11:

Share this post


Link to post
Share on other sites

Are you sure you're not placing an empty plane in the editor?

Make sure not hitting the ALT key when placing a plane.

As of now, every editor placed aircraft that's in the air and has a pilot will fly at mission start.

 

Cheers

Share this post


Link to post
Share on other sites
20 minutes ago, Mr. Birdman said:

@ theend3r  there is no "FLY" state in Eden unless I totally missed it.

Yes, sorry, I though you we spawning it through a script as the editor does that automatically.

Share this post


Link to post
Share on other sites
1 hour ago, ProfTournesol said:

 

I can't believe that such a useful feature was removed...

 

Right clicking and choosing "move to flight altitude" does the same.

Are you using mods?? I do not have that option. Either because i have 4 eden mods every time i login or you have different mods

Share this post


Link to post
Share on other sites
1 minute ago, ProfTournesol said:

Nope, no mods, but on dev branch.

Well then maybe my mods removed it, because whenever i place an aircraft above 20 m and has a pilot in it is automatically in flight mode

Share this post


Link to post
Share on other sites

Yes it works if you just put a plane in from the editor above ground level >20 meters however the issue was I always use Editor based AI script by trigger by Murklor  to have my units spawn in at mission start rather than just have them always on the mission map. I believe it helps with performance when you're dealing with a moderate to large amount of units in the mission. I have some that spawn in after a few seconds to a minute and others spawn in when specific triggers are reached within the mission.  The issues was planes and boats did not spawn in correctly. Boat crew was outside of the boats in the water and planes would just fall from the sky no matter what code you attempted to use. Simple solution don't use that script to spawn and boats and planes for Missions lol. The hottest solution would be figure out why it did that and fix it but that is well above my paygrade. Avibird

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

×