Merge pull request #152 from KoffeinFlummi/fixesForFCS

Fixes for fcs
This commit is contained in:
commy2 2015-03-18 17:58:34 +01:00
commit 785d415189
3 changed files with 24 additions and 4 deletions

View File

@ -36,6 +36,11 @@ class Extended_Init_EventHandlers {
serverInit = QUOTE(_this call FUNC(vehicleInit)); serverInit = QUOTE(_this call FUNC(vehicleInit));
}; };
}; };
class StaticWeapon {
class ADDON {
serverInit = QUOTE(_this call FUNC(vehicleInit));
};
};
}; };
class Extended_Respawn_EventHandlers { class Extended_Respawn_EventHandlers {
@ -64,6 +69,11 @@ class Extended_Respawn_EventHandlers {
respawn = QUOTE(_this call FUNC(vehicleInit)); respawn = QUOTE(_this call FUNC(vehicleInit));
}; };
}; };
class StaticWeapon {
class ADDON {
respawn = QUOTE(_this call FUNC(vehicleInit));
};
};
}; };
class Extended_FiredBIS_EventHandlers { class Extended_FiredBIS_EventHandlers {
@ -92,4 +102,9 @@ class Extended_FiredBIS_EventHandlers {
firedBIS = QUOTE(_this call FUNC(firedEH)); firedBIS = QUOTE(_this call FUNC(firedEH));
}; };
}; };
class StaticWeapon {
class ADDON {
firedBIS = QUOTE(_this call FUNC(firedEH));
};
};
}; };

View File

@ -43,4 +43,9 @@ class Extended_FiredBIS_EventHandlers {
firedBIS = QUOTE(if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 1 >> QUOTE(QGVAR(Damage))) > 0}) then {_this call DFUNC(fireOverpressureZone)}); firedBIS = QUOTE(if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 1 >> QUOTE(QGVAR(Damage))) > 0}) then {_this call DFUNC(fireOverpressureZone)});
}; };
}; };
class StaticWeapons {
class ADDON {
firedBIS = QUOTE(if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 1 >> QUOTE(QGVAR(Damage))) > 0}) then {_this call DFUNC(fireOverpressureZone)});
};
};
}; };

View File

@ -13,7 +13,7 @@
// Statement // Statement
["azimuth"] call FUNC(onKeyDown); ["azimuth"] call FUNC(onKeyDown);
true false
}, },
{ {
// prevent holding down // prevent holding down
@ -24,7 +24,7 @@
// Statement // Statement
["azimuth"] call FUNC(onKeyUp); ["azimuth"] call FUNC(onKeyUp);
true false
}, },
[15, [false, false, false]], false, 0] call CBA_fnc_addKeybind; //Tab Key [15, [false, false, false]], false, 0] call CBA_fnc_addKeybind; //Tab Key
@ -42,7 +42,7 @@
// Statement // Statement
["distance"] call FUNC(onKeyDown); ["distance"] call FUNC(onKeyDown);
true false
}, },
{ {
// prevent holding down // prevent holding down
@ -53,6 +53,6 @@
// Statement // Statement
["distance"] call FUNC(onKeyUp); ["distance"] call FUNC(onKeyUp);
true false
}, },
[19, [false, false, false]], false] call CBA_fnc_addKeybind; //R Key [19, [false, false, false]], false] call CBA_fnc_addKeybind; //R Key