add friendly database persistence

This commit is contained in:
Zac Surplice
2013-10-29 03:48:31 +11:00
parent 6fdcede322
commit b8a5097a70
4 changed files with 13 additions and 1 deletions

View File

@@ -165,6 +165,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 ["friendlyTo",[]])];
};
/*
Everything is ready, now publish to HIVE
*/