Jump to content
Sign in to follow this  
dizzybinraider

Land_Airport_01_hangar_F Doors

Recommended Posts

Hi, 

I thought I'd share this as I couldn't find anything useful other than someone on Reddit saying they'd made it work but not how. I managed to set up Land_Airport_01_hangar_F to open and close on a script.

 

I have two sqf files, one is named Hang1close, the other is Hang1Open. 

In Hang1close:

Hang1 animate ["Door_2_move",0];
Hang1 animate ["Door_3_move",0];

In Hang1Open:
 

Hang1 animate ["Door_2_move",1];
Hang1 animate ["Door_3_move",1];

The building is named Hang1 in game, and I have two transfer switches (Land_TransferSwitch_01_F) on either side, as the door covers the outer one when open. These both have the same script:

this addAction ["Open", "Hang1Open.sqf"];
this addAction ["Close", "Hang1close.sqf"];

 

Pretty simple, just thought as I couldn't find how to operate the doors on this particular building that I'd share with all. No idea why the didn't make it something that could be done on the doors in the game, as the animation is there.

 

Cheers,

LR

  • Like 2

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  

×