Arma 3 Zeus is a free multiplayer DLC for Arma 3 Fully modable and compatible with all current gametypes, take over the world or ARMA and play it your way "Game Master"

Post tutorial Report 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];
 

Post comment Comments
Guest
Guest - - 689,296 comments

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

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: