Post tutorial RSS How to open vehicles in Arma 3

Commands for opening/closing of selected sections can be written in init fields of vehicles, or use them in script as you wish.

Posted by on - Intermediate Client Side Coding

Commands for opening/closing of selected sections can be written in init fields of vehicles, or use them in script as you wish.

Possible values:

  • value 0 (zero) means fully closed section
  • value 1 (one) means fully opened section
  • values between 0 and 1 means any possible angle of opening of selected section

Hunter

code:
this animateDoor ["Door_LF", 1];
this animateDoor ["Door_RF", 1];
this animateDoor ["Door_LB", 1];
this animateDoor ["Door_RB", 1];
 

Ifrit

code:
this animateDoor ["Door_LF", 1];
this animateDoor ["Door_RF", 1];
this animateDoor ["Door_LM", 1];
this animateDoor ["Door_RM", 1];
this animateDoor ["Door_rear", 1];
 

Strider

code:
this animateDoor ["Door_LF", 1];
this animateDoor ["Door_RF", 1];
 

CH-49 Mohawk

code:
this animateDoor ["Door_Back_L", 1];
this animateDoor ["Door_Back_R", 1];
this animate ["CargoRamp_Open",1];
 

Mi-48 Kajman

code:
this animateDoor ["Door_L", 1];
this animateDoor ["Door_R", 1];
 

UH-80 Ghost Hawk

code:
this animateDoor ["Door_L", 1];
this animateDoor ["Door_R", 1];
 

Comments
Guest
Guest

This comment is currently awaiting admin approval, join now to view.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Tutorial
Browse
Tutorials
Share
Related Games
ARMA 3
ARMA 3 Tactical Shooter
Arma 3 Zeus
Arma 3 Zeus Tactical Shooter
Related Engines
Real Virtuality 3
Real Virtuality 3 Commercial
Related Groups
ARMA 3
ARMA 3 Fans & Clans
Arma II Fan Group
Arma II Fan Group Fans & Clans
ČSLA Studio
ČSLA Studio Developer