mirror of
https://github.com/acemod/ACE3.git
synced 2025-07-25 04:42:48 +00:00
fix comments
This commit is contained in:
@ -29,6 +29,7 @@ _position = getPosASL _projectile;
|
|||||||
_direction = [0, 0, 0] vectorDiff (vectorDir _projectile);
|
_direction = [0, 0, 0] vectorDiff (vectorDir _projectile);
|
||||||
|
|
||||||
private ["_var","_varName","_backblastAngle", "_backblastRange", "_backblastDamage"];
|
private ["_var","_varName","_backblastAngle", "_backblastRange", "_backblastDamage"];
|
||||||
|
// Bake variable name and check if the variable exists, call the caching function otherwise
|
||||||
_varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine];
|
_varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine];
|
||||||
_var = if (isNil _varName) then {
|
_var = if (isNil _varName) then {
|
||||||
[_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues);
|
[_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues);
|
||||||
|
@ -29,7 +29,7 @@ _direction = vectorDir _projectile;
|
|||||||
|
|
||||||
private ["_var", "_varName", "_dangerZoneAngle", "_dangerZoneRange", "_dangerZoneDamage"];
|
private ["_var", "_varName", "_dangerZoneAngle", "_dangerZoneRange", "_dangerZoneDamage"];
|
||||||
|
|
||||||
// Bake Variablen Name and Check if the Variable Exist else call the Cache Function
|
// Bake variable name and check if the variable exists, call the caching function otherwise
|
||||||
_varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine];
|
_varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine];
|
||||||
_var = if (isNil _varName) then {
|
_var = if (isNil _varName) then {
|
||||||
[_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues);
|
[_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues);
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
private ["_damage","_varName"];
|
private ["_damage","_varName"];
|
||||||
params ["", "_weapon", "", "", "_ammo", "_magazine", ""];
|
params ["", "_weapon", "", "", "_ammo", "_magazine", ""];
|
||||||
|
|
||||||
// Bake Variable Name and Check if the Variable Exist else call the Cache Function
|
// Bake variable name and check if the variable exists, call the caching function otherwise
|
||||||
_varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine];
|
_varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine];
|
||||||
_damage = if (isNil _varName) then {
|
_damage = if (isNil _varName) then {
|
||||||
([_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues)) select 2;
|
([_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues)) select 2;
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
private ["_damage","_varName"];
|
private ["_damage","_varName"];
|
||||||
params ["", "_weapon", "", "", "_ammo", "_magazine", ""];
|
params ["", "_weapon", "", "", "_ammo", "_magazine", ""];
|
||||||
|
|
||||||
// Bake Variable Name and Check if the Variable Exist else call the Cache Function
|
// Bake variable name and check if the variable exists, call the caching function otherwise
|
||||||
_varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine];
|
_varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine];
|
||||||
_damage = if (isNil _varName) then {
|
_damage = if (isNil _varName) then {
|
||||||
([_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues)) select 2;
|
([_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues)) select 2;
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
private ["_var","_overpressureAngle", "_overpressureRange", "_overpressureDamage"];
|
private ["_var","_overpressureAngle", "_overpressureRange", "_overpressureDamage"];
|
||||||
params ["_firer", "_posASL", "_direction", "_weapon", "_magazine", "_ammo"];
|
params ["_firer", "_posASL", "_direction", "_weapon", "_magazine", "_ammo"];
|
||||||
|
|
||||||
// Bake Variablen Name and Check if the Variable Exist else call the Cache Function
|
// Bake variable name and check if the variable exists, call the caching function otherwise
|
||||||
_varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine];
|
_varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine];
|
||||||
_var = if (isNil _varName) then {
|
_var = if (isNil _varName) then {
|
||||||
[_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues);
|
[_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues);
|
||||||
|
Reference in New Issue
Block a user