Jump to content
Sign in to follow this  
Lightningstrike

Empty / parked C-130 with ramp open?

Recommended Posts

Hi

have tried to search for this with no results :(

what is the init command to have the cargo ramp open on an empty / parked C-130 for example, or any other vehicle having similar animations ?

should be such init command called from within the unit initialization, or it should be a trigger/action and or waypoint?

thanks

Share this post


Link to post
Share on other sites

_c130 animate [""ramp_top"", 1];

_c130 animate [""ramp_bottom"", 1];

Share this post


Link to post
Share on other sites

You can use a trigger and put in the activation field, c130 is the name of the plane.

c130 animate [""ramp_top"", 1];

Not sure but you can try putting in,

this animate [""ramp_top"", 1];

in the init field of the unit.

Share this post


Link to post
Share on other sites

I used a local variable instead of a global one.

Put this to the init-field of the C130:

this animate [""ramp_top"", 1];

this animate [""ramp_bottom"", 1];

Share this post


Link to post
Share on other sites

Are you able to get that to work with double-double-quotes? The editor won't let me do that. This works (at least for me) in the init line of a C130:

this animate ["ramp_top", 1];  this animate ["ramp_bottom", 1]; 

Share this post


Link to post
Share on other sites
Are you able to get that to work with double-double-quotes? The editor won't let me do that. This works (at least for me) in the init line of a C130:

this animate ["ramp_top", 1];  this animate ["ramp_bottom", 1]; 

That was my bad, sorry. I copypasted the lines from a script of mine. Those lines were inside of a call compile format, and thats why they had to be in double-double.

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  

×