Jump to content
Sign in to follow this  
BEAKSBY

Suspending an object in air

Recommended Posts

I thought I saw a post on the a little while ago.

I want to create some bombs and just suspend them in airmwith dropping or detonating. I think it had something to do with animation?

Any ideas?

Share this post


Link to post
Share on other sites

About the only thing you can do is attachthem to gamelogic or some immobile object such as flagpole. I've not see anything to do with animation and bomb.

bomb attachto [gl,[0,0,500]];

or

bomb attachto [gl];

where it will be fixed in it current place.

not all objects can be attached and direction and vector may need adjusting.

Share this post


Link to post
Share on other sites

Change the object elevation and add to its init : this enablesimulation false .

It should get stuck in the air .

Share this post


Link to post
Share on other sites

Put down an Objects (Helpers) Grass Cutter Small where you want bomb to appear and put this in the init.

bomb = createVehicle ["Sh_155mm_AMOS", position this, [], 0, "NONE"];[bomb, -90, 0] call BIS_fnc_setPitchBank;bomb enablesimulation false;deleteVehicle this;

Set the EVEVATION in the properites of the Grass Cutter Small to the height you want to have the Bombs suspended at. In this example the ELEVATION was set to 3.

2014_08_10_00001.jpg

Share this post


Link to post
Share on other sites
Put down an Objects (Helpers) Grass Cutter Small where you want bomb to appear and put this in the init.

bomb = createVehicle ["Sh_155mm_AMOS", position this, [], 0, "NONE"];[bomb, -90, 0] call BIS_fnc_setPitchBank;bomb enablesimulation false;deleteVehicle this;

Set the EVEVATION in the properites of the Grass Cutter Small to the height you want to have the Bombs suspended at. In this example the ELEVATION was set to 3.

http://s23.postimg.org/k3h5iz9ef/2014_08_10_00001.jpg

Thanks everyone,

enablesimulation was what I saw a while back!

What are object (helper) and why in particlular the small grass cutters? I assume I can use anything from the object assets Arma_3_CfgVehicles_EMPTY list like a can or pencil?

Edited by BEAKSBY

Share this post


Link to post
Share on other sites
Thanks everyone,

enablesimulation was what I saw a while back!

What are object (helper) and why in particular the small grass cutters? I assume I can use anything from the object assets Arma_3_CfgVehicles_EMPTY list like a can or pencil?

Well the key instruction in my suggestion is "deleteVehicle this" at the end. This deletes the object placed via the editor. So you are right, in that you could use a battery or a small item just so you position it on the map it's up to you. With the "deleteVehicle this" at the end.

I always use small grass cutter because it's invisible, it's easy to see and place in the editor, and I use it when creating buildings etc rather than use invisible helicopter pads because AI react to Helipads.

---------- Post added at 11:27 PM ---------- Previous post was at 11:06 PM ----------

What are object (helper) and why in particular the small grass cutters?
Find these in the editor.

SIDE [Empty]

CLASS[Object (Helpers)]

UNIT [Grass Cutter Small]

All they do is remove grass over a small area. They are invisible, you cannot collide with them and AI ignore them.

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  

×