mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
hitreactions - Close map on hit (#5099)
This commit is contained in:
parent
b3f03d5ffb
commit
c26008ad29
@ -27,6 +27,9 @@ if (_unit == _firer) exitWith {};
|
||||
|
||||
// camshake for player
|
||||
if (_unit == ACE_player) then {
|
||||
if (visibleMap) then {
|
||||
openMap false;
|
||||
};
|
||||
addCamShake [3, 5, _damage + random 10];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user