+ added animation to crafting
+ added staged deconstruction of buildables.
+ allow new buildables to be saved to db
+ add R3F files to other mission files.
+ add dynamic_vehicle.sqf to mission files
This commit is contained in:
vbawol
2013-02-21 11:29:12 -06:00
parent 70be2b1dae
commit 68481f75b4
178 changed files with 20726 additions and 28 deletions

View File

@@ -49,21 +49,20 @@ vehicle_handleServerKilled = {
};
check_publishobject = {
private["_allowed","_allowedObjects","_object"];
private["_allowed","_allowedObjects","_object"];
_object = _this select 0;
_playername = _this select 1;
_allowedObjects = ["TentStorage", "VaultStorageLocked", "Hedgehog_DZ", "Sandbag1_DZ","TrapBear","Wire_cat1"];
_allowed = false;
_object = _this select 0;
_playername = _this select 1;
_allowedObjects = ["TentStorage", "VaultStorageLocked", "Hedgehog_DZ", "Sandbag1_DZ","TrapBear","Fort_RazorWire","WoodGate_DZ","Land_HBarrier1_DZ"];
_allowed = false;
diag_log format ["DEBUG: Checking if Object: %1 is allowed published by %2", _object, _playername];
diag_log format ["DEBUG: Checking if Object: %1 is allowed published by %2", _object, _playername];
if ((typeOf _object) in _allowedObjects) then {
diag_log format ["DEBUG: Object: %1 published by %2 is Safe",_object, _playername];
_allowed = true;
};
_allowed
if ((typeOf _object) in _allowedObjects) then {
diag_log format ["DEBUG: Object: %1 published by %2 is Safe",_object, _playername];
_allowed = true;
};
_allowed
};
//event Handlers