mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Tweaked affected area for objects
This commit is contained in:
parent
f0eb7dd479
commit
fcba14ef71
@ -30,10 +30,12 @@
|
|||||||
#define PARTICLE_SMOKE_LIFTING 1
|
#define PARTICLE_SMOKE_LIFTING 1
|
||||||
#define PARTICLE_SMOKE_WIND_EFFECT 1
|
#define PARTICLE_SMOKE_WIND_EFFECT 1
|
||||||
|
|
||||||
#define EFFECT_SIZE 1.8
|
#define EFFECT_SIZE 1
|
||||||
#define ORIENTATION 5.4
|
#define ORIENTATION 5.4
|
||||||
#define EXPANSION 1
|
#define EXPANSION 1
|
||||||
|
|
||||||
|
#define EFFECT_AREA 1.8
|
||||||
|
|
||||||
params ["_projectile", "_timeToLive", "_center"];
|
params ["_projectile", "_timeToLive", "_center"];
|
||||||
|
|
||||||
if (isNull _projectile) exitWith {TRACE_1("null",_projectile);};
|
if (isNull _projectile) exitWith {TRACE_1("null",_projectile);};
|
||||||
@ -187,7 +189,7 @@ if (isServer) then {
|
|||||||
// --- inflame fireplace, barrels etc.
|
// --- inflame fireplace, barrels etc.
|
||||||
_x inflame true;
|
_x inflame true;
|
||||||
};
|
};
|
||||||
} forEach (_position nearObjects EFFECT_SIZE);
|
} forEach (_position nearObjects EFFECT_AREA);
|
||||||
|
|
||||||
// --- damage local vehicle
|
// --- damage local vehicle
|
||||||
private _vehicle = _position nearestObject "Car";
|
private _vehicle = _position nearestObject "Car";
|
||||||
|
Loading…
Reference in New Issue
Block a user