mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Grenades - Add fire source to incendiary grenades (#8756)
* add fire source to incendiary grenade * improvide fire source condition Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com> Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
This commit is contained in:
parent
8d83982d86
commit
f85ed213c5
@ -155,6 +155,9 @@ private _sound = objNull;
|
||||
|
||||
if (isServer) then {
|
||||
_sound = createSoundSource ["Sound_Fire", _position, [], 0];
|
||||
private _radius = 1.5 * getNumber (configOf _projectile >> "indirectHitRange");
|
||||
private _intensity = getNumber (configOf _projectile >> "hit");
|
||||
[QEGVAR(fire,addFireSource), [_projectile, _radius, _intensity, _projectile, {CBA_missionTime < _this}, CBA_missionTime + _timeToLive]] call CBA_fnc_serverEvent;
|
||||
};
|
||||
|
||||
[{
|
||||
|
Loading…
Reference in New Issue
Block a user