mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
destruction vs effect
This commit is contained in:
parent
ed97be0e06
commit
66fc592dbe
@ -34,7 +34,7 @@
|
||||
#define ORIENTATION 5.4
|
||||
#define EXPANSION 1
|
||||
|
||||
#define EFFECT_RADIUS 1.8
|
||||
#define DESTRUCTION_RADIUS 1.8
|
||||
|
||||
params ["_projectile", "_timeToLive", "_center"];
|
||||
|
||||
@ -189,7 +189,7 @@ if (isServer) then {
|
||||
// --- inflame fireplace, barrels etc.
|
||||
_x inflame true;
|
||||
};
|
||||
} forEach (_position nearObjects EFFECT_RADIUS);
|
||||
} forEach (_position nearObjects DESTRUCTION_RADIUS);
|
||||
|
||||
// --- damage local vehicle
|
||||
private _vehicle = _position nearestObject "Car";
|
||||
|
Loading…
Reference in New Issue
Block a user