Arma 3
Not enough ratings
Script to open and close doors on planes and cars ARMA 3
By SuperBrat12
In Arma 3, you have the capability to script cars or airplanes to perform actions such as opening and closing doors as required for animations or specific in-game events. This scripting ability allows for dynamic and immersive control over vehicle animations, enhancing the overall gameplay experience.

In Arma 3, you can view the available animations for a specific airplane or car using the "configViewer." This tool allows you to inspect the configuration of different vehicles, including animations.

"HOW TO OPEN THE CONFIG"
- While in the Eden Editor, select the vehicle you placed.
- In the top toolbar, click on "Attributes" (or press F3).
- In the Attributes window, go to the "Debug" tab.
- Enable the "Config Viewer" option.

"Inspect the Configuration"
- Click on the vehicle in the 3D view to select it.
- Open the Config Viewer (usually at the bottom of the screen).
- Navigate through the tabs in the Config Viewer to find information about animations. Look for sections related to "AnimationSources" or "Animation States."

"View Animations"
- In the Config Viewer, you should be able to see a list of animations associated with the selected vehicle.
- Look for entries related to your airplane or car, and you can find information about the available animations.

THEN YOU CAN USE THIS SCRIPT TO OPEN AND CLOSE THE DOORS:

// Assuming the C-130H object is named "first1"
sleep 10;
first1 animateSource ["ramp_top", 1];
first1 animateSource ["ramp_bottom", 1];
sleep 30;
first1 animateSource ["ramp_top", 0];
first1 animateSource ["ramp_bottom", 0];


   
Award
Favorite
Favorited
Unfavorite
2 Comments
SuperBrat12  [author] Nov 29, 2024 @ 1:16pm 
No problem
Komodo Nov 16, 2024 @ 4:10pm 
Ty