This is an Arma 3 Eden editor tutorial focusing on how to switch between animations whilst still allowing units to react.
How to's...
** How to change units behaviour **
Copy & paste the following into the triggers on act...
S1 setBehaviour "SAFE";
** Animations on Waypoints **
Copy & paste the following into the waypoints on act...
nul = [this] execVM "1stWP.sqf";
Copy & paste the following into notepad++ to create 1stWP.sqf file...
S1 playMove "Acts_Executioner_Squat";
sleep 10.033;
S1 switchMove "";
S1 setBehaviour "SAFE";
** Important trigger to stop combat **
Copy & paste the following into the triggers condition...
({(side _x) == east} count allUnits) ⋖= 1
NOTE!
The angled bracket (less than) ...⋖=1 is not right as youtube will not allow them in the comments so when you copy/paste simply replace ⋖ with the real angled bracket (less than).
Copy & paste the following into the triggers on act...
S1 disableAI "AUTOCOMBAT"; S1 disableAI "COVER";
8 сен 2024