1.0.2.51 dev

This commit is contained in:
[VB]AWOL
2013-10-30 13:06:18 -05:00
parent ec4cc0842b
commit cde35c43dc
20 changed files with 830 additions and 64 deletions

View File

@@ -166,7 +166,9 @@ if (_characterID != "0") then {
_temp = round(_character getVariable ["temperature",100]);
_currentState = [_currentWpn,_currentAnim,_temp];
if(DZE_FriendlySaving) then {
_currentState set [(count _currentState),(_character getVariable ["friendlies",[]])];
// save only last/most recent 5 entrys as we only have 200 chars in db field and weapon + animation names are sometimes really long 60-70 chars.
_friendlies = [(_character getVariable ["friendlies",[]]),5] call array_reduceReverse;
_currentState set [(count _currentState),_friendlies];
};
/*
Everything is ready, now publish to HIVE