mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
more private updates
This commit is contained in:
parent
0c035ae07c
commit
3f462d43ba
@ -13,7 +13,7 @@
|
||||
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_consumeItem.sqf
|
||||
*/
|
||||
//[[[cog import generate_private_arrays ]]]
|
||||
private ["_buildClass","_buildingCountLimit","_buildingJammerRange","_canCapacity","_cfgBaseBuilding","_cfgItemInteractions","_color","_currentDMG","_currentFuel","_currentHIT","_fuelCapacity","_highestDMG","_interactAttributes","_interactOption","_interactReturnOnUse","_isOk","_isStorage","_magazineSize","_magazineSizeMax","_magazinesAmmoFull","_newDMG","_newFuel","_object","_otherObjects","_output","_paintCanColor","_paintCanIndex","_partCheck","_pos","_removeItem","_transportFuel","_unifiedInteract","_vehicle","_vehicles"];
|
||||
private ["_buildClass","_buildingCountLimit","_buildingJammerRange","_canCapacity","_cfgBaseBuilding","_cfgItemInteractions","_color","_currentDMG","_currentFuel","_currentHIT","_fuelCapacity","_highestDMG","_inputCount","_interactAttributes","_interactOption","_interactReturnOnUse","_isOk","_isStorage","_magazineSize","_magazineSizeMax","_magazinesAmmoFull","_newDMG","_newFuel","_object","_otherObjects","_output","_paintCanColor","_paintCanIndex","_partCheck","_pos","_removeItem","_transportFuel","_unifiedInteract","_vehicle","_vehicles"];
|
||||
//[[[end]]]
|
||||
|
||||
EPOCH_InteractedItem params ["_text","_item","_pic"];
|
||||
@ -129,7 +129,7 @@ switch _interactOption do {
|
||||
else {
|
||||
["Building Disallowed: Frequency Unstable", 5] call Epoch_message;
|
||||
};
|
||||
}
|
||||
}
|
||||
else {
|
||||
_object=createVehicle[_buildClass,_pos,[],0,"CAN_COLLIDE"];
|
||||
_object setDir ((getDir player) - 180);
|
||||
|
@ -12,7 +12,9 @@
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_server/compile/epoch_antagonists/EPOCH_server_handle_sapperObjs.sqf
|
||||
*/
|
||||
private["_safeUnits"];
|
||||
//[[[cog import generate_private_arrays ]]]
|
||||
private ["_safeBombs","_safeUnits"];
|
||||
//[[[end]]]
|
||||
params [["_bomb",objNull], "_player", ["_token","",[""]], "_unit", ["_killUnit",false]];
|
||||
if !([_player,_token]call EPOCH_server_getPToken)exitWith{};
|
||||
_safeUnits = ["Epoch_Sapper_F","Epoch_SapperB_F","Epoch_SapperG_F"];
|
||||
|
Loading…
Reference in New Issue
Block a user