private arrays part 2

This commit is contained in:
[VB]AWOL
2013-10-22 10:16:20 -05:00
parent af4b876cde
commit 207f4e3b88
58 changed files with 91 additions and 62 deletions

View File

@@ -3,9 +3,6 @@
*/
//Player only
if (!isDedicated) then {
_config = configFile >> "CfgLoot";
_config1 = configFile >> "CfgMagazines" >> "FoodEdible";
_config2 = configFile >> "CfgWeapons" >> "Loot";
"filmic" setToneMappingParams [0.07, 0.31, 0.23, 0.37, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";

View File

@@ -1,4 +1,4 @@
private["_cfgCount","_config","_i","_itemChances","_itemCount","_weighted","_j","_weight","_l","_k","_type","_canZombie","_canLoot"];
private ["_config","_itemChances","_itemCount","_weighted","_j","_weight","_type","_canZombie","_canLoot","_classname","_itemChancesSmall","_itemCountSmall"];
dayz_CBLChances = [];
dayz_CBLBase = [];

View File

@@ -3,7 +3,7 @@ ASSIGN DAMAGE HANDLER TO A UNIT
- Function set_EH
- unit call set_EH;
************************************************************/
private["_unit","_eh1","_eh2","_dir","_location"];
private ["_unit","_eh1","_eh2","_dir","_location","_eh3","_eh4","_eh5","_eh6"];
_unit = _this;
_dir = getdir _this;
_location = getPosATL _this;

View File

@@ -1,4 +1,4 @@
private["_unit"];
private ["_unit","_id"];
_unit = _this select 0;
_id = _unit addeventhandler ["HandleDamage",{_this call local_zombieDamage}];
_id = _unit addeventhandler ["Killed",{[_this,"zombieKills"] call local_eventKill}];