Here is a discussion thread for the Origins-like DiscoBot.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
if (!_isDead) then {
_medical = _newUnit call player_sumMedical;
_newBackpack = unitBackpack _newUnit;
if(!(dayz_onBack == "")) then {
_playerGear = [_weapons,_magazines,dayz_onBack];}
else {_playerGear = [_weapons,_magazines];};
_playerBackp = [typeOf _newBackpack,getWeaponCargo _newBackpack,getMagazineCargo _newBackpack];
_playerGear = [_weapons,_magazines]
diag_log format["BOTLOG spawn disco_playerMorph: %1 (%2) %3", _playerObj,_playerID,_characterID];
[_playerObj,_playerUID,_characterID,30] spawn disco_playerMorph;
Ok - I'm out of ideas.
I have no clue how to fetch the weapon class name from dayz_onBack properly.
Everything I've tried returns "any", "[]", "null" or simply nothing.
If anyone has an idea about this, I would be grateful.
Wysłane z mojego HTC Desire S przy użyciu Tapatalk