Guys,
I added some traders to server side file dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf. They are in this format:
_unit_1205 = objNull; if (true) then { _this = createAgent ["RU_Citizen2", [3270.38,3404.06,0.001], [], 0, "CAN_COLLIDE"]; _unit_1205 = _this; _this setDir 17; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false; };
And default ones are like:
_unit_59 = objNull; if (true) then { _this = createAgent ["TK_GUE_Soldier_5_EP1", [4054.218, 11664.668, -0.51617432], [], 0, "CAN_COLLIDE"]; _unit_59 = _this; _this setDir 422.9967; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
Default traders work at "normal" speed. My traders either don't bring up the Trader Menu at all (and some of them bring it up very delayed).
Workaround is zooming into the trader's head using right mouse button but a permanent fix would be better. What is wrong with the setup and how can I fix this issue?
Thanks