radius vs area

This commit is contained in:
commy2 2017-12-31 13:33:42 +01:00 committed by GitHub
parent fcba14ef71
commit ed97be0e06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@
#define ORIENTATION 5.4
#define EXPANSION 1
#define EFFECT_AREA 1.8
#define EFFECT_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_AREA);
} forEach (_position nearObjects EFFECT_RADIUS);
// --- damage local vehicle
private _vehicle = _position nearestObject "Car";