1.7.4 CE sync

This commit is contained in:
Aaron Clark
2012-11-05 16:11:06 -06:00
parent 0d59fb827b
commit 5a5ac0f867
14 changed files with 408 additions and 70 deletions

View File

@@ -0,0 +1,15 @@
private["_target", "_caller", "_id", "_params", "_pos"];
_target = _this select 0;
_caller = _this select 1;
_id = _this select 2;
_params = _this select 3;
_pos = position _target;
deleteVehicle (_this select 0);
_dog = (group player) createUnit [format["DZ_%1", typeOf _target], _pos, [], 0, "FORM"];
_dog disableAI "FSM";
_fsmid = [_dog, (count units group _caller)] execFSM "\z\addons\dayz_code\system\dog_agent.fsm";
_fsmid setFSMVariable ["_handle", _fsmid];
_target removeAction _id;
//handle publicVariables here later.