Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _unit addEventHandler ["AnimChanged", {
- params ["_unit", "_anim"];
- _anim = _anim splitString "_";
- if ("salute" in _anim) then {
- {
- _x playAction "salute";
- } forEach ((_unit nearObjects ["CAManBase", 10]) - [_unit]);
- };
- }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement