From a3dac450612ce4ca83e01d875c39b38f1bbe72c1 Mon Sep 17 00:00:00 2001 From: icomrade Date: Mon, 29 Feb 2016 11:53:49 -0500 Subject: [PATCH] Some small changes --- SQF/dayz_code/NOTE.txt | 9 +++++---- SQF/dayz_code/actions/study_body.sqf | 10 +++++----- SQF/dayz_code/actions/tent_pack.sqf | 3 ++- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/SQF/dayz_code/NOTE.txt b/SQF/dayz_code/NOTE.txt index 42ff9747e..ab5c52494 100644 --- a/SQF/dayz_code/NOTE.txt +++ b/SQF/dayz_code/NOTE.txt @@ -1,4 +1,7 @@ DZE_BloodBags NEEDED ARRAY OF ALL BLOOD BAGS +Create switchable blood system with variable. +Convert (if old system) to ItemBloodbag +DZE_UseBloodTypes replace all of 8Rnd_12Gauge_Buck @@ -18,9 +21,7 @@ CHANGED WEAPON CLASSES {Loot_WEAPON, 2, Revolver_DZ}, {Loot_WEAPON, 0.5, revolver_gold_EP1}, -Create switchable blood system with variable. -Convert (if old system) to ItemBloodbag -DZE_UseBloodTypes + fn_selfActions.sqf player_updateGui.sqf @@ -28,7 +29,7 @@ bloodBagANEG bloodBagAPOS bloodBagBNEG bloodBagBPOS bloodBagONEG bloodBagOPOS wholeBloodBagANEG wholeBloodBagAPOS wholeBloodBagBNEG wholeBloodBagBPOS wholeBloodBagONEG wholeBloodBagOPOS -WEAPONHOLDE_TOOL IS NO LONGER USED! FIX BY REPLACING OCCURENCES +WEAPONHOLDER_TOOL IS NO LONGER USED! FIX BY REPLACING OCCURENCES I.E. ItemCrowbar replaces WeaponHolder_MeleeCrowbar WeaponHolder_ItemHatchet_DZE WeaponHolder_MeleeCrowbar diff --git a/SQF/dayz_code/actions/study_body.sqf b/SQF/dayz_code/actions/study_body.sqf index 2c48042cd..7a3037f89 100644 --- a/SQF/dayz_code/actions/study_body.sqf +++ b/SQF/dayz_code/actions/study_body.sqf @@ -1,8 +1,8 @@ private["_body","_name","_method","_methodStr"]; -_body = _this select 3; -_name = _body getVariable["bodyName","unknown"]; -_method = _body getVariable["deathType","unknown"]; + +_body = _this select 3; +_name = _body getVariable["bodyName","unknown"]; +_method = _body getVariable["deathType","unknown"]; _methodStr = localize format ["str_death_%1",_method]; - -cutText [format[(localize "str_player_studybody"),_name,_methodStr], "PLAIN DOWN"]; +cutText [format [localize "str_player_studybody",_name,_methodStr], "PLAIN DOWN"]; diff --git a/SQF/dayz_code/actions/tent_pack.sqf b/SQF/dayz_code/actions/tent_pack.sqf index 522bcb4e8..2bd48249d 100644 --- a/SQF/dayz_code/actions/tent_pack.sqf +++ b/SQF/dayz_code/actions/tent_pack.sqf @@ -1,3 +1,4 @@ private["_obj"]; + _obj = _this select 3; -_obj spawn player_packTent; +_obj call player_packTent;