Arma 3 Editor - How to open and close vehicle doors / find their classnames

Опубликовано: 26 Сентябрь 2017
на канале: Desperado070
10,565
100

Can be used in the init of a vehicle but also in triggers or anything else since it has the name.

For the trigger we used

Onact
Mohawk3 animateDoor ['CargoRamp_Open', 1, false];
Mohawk3 animateDoor ['Door_Back_L', 1, false];
Mohawk3 animateDoor ['Door_Back_R', 1, false];

Ondeact
Mohawk3 animateDoor ['CargoRamp_Open', 0, false];
Mohawk3 animateDoor ['Door_Back_L', 0, false];
Mohawk3 animateDoor ['Door_Back_R', 0, false];



Addaction to open and close the doors, add this into a init of a unit, but can also be used in a trigger.


Mohawk3 addAction ["Open Doors", "Mohawk3 animateDoor ['CargoRamp_Open', 1, false];Mohawk3 animateDoor ['Door_Back_L', 1, false];Mohawk3 animateDoor ['Door_Back_R', 1, false];"]

Mohawk3 addAction ["Close Doors", "Mohawk3 animateDoor ['CargoRamp_Open', 0, false];Mohawk3 animateDoor ['Door_Back_L', 0, false];Mohawk3 animateDoor ['Door_Back_R', 0, false];"]

MissionFile: https://www.mediafire.com/folder/brzm...
or https://1drv.ms/f/s!AhoDwGG5P-ARgZNqk...


If you got any questions or ideas leave a comment below

This video was created using content of Bohemia Interactive a.s.
Copyright © 2017 Bohemia Interactive a.s. All rights reserved.
See www.bistudio.com for more information.