In this video I'd like to share about how to create action that is attached to each player (so this is a MP-tested script) in the game. To add simple example, animation is played on those who use the script.
Timestamp:
00:07 Scenario overview
01:14 Showing script's formula in ACE wiki
02:52 Adding script to initPlayerLocal
05:55 Testing
In initPlayerLocal file:
_scriptCode = ["Name", "Name Shown in Menu", "icon_location", {_target switchMove "";}, {true}, {}, [], [0, 0, 0], 100] call ace_interact_menu_fnc_createAction;
[(typeOf player), 1, ["ACE_SelfActions"], _scriptCode, true] call ace_interact_menu_fnc_addActionToClass;
Music on video:
"This is War (Marksman Remix)" by Bohemia Interactive
"Into the Sun" by Denoi
"Marksmen" by Jan Dusek
#games #arma3 #arma3mission #tutorial #milsim