Try like this:
_unit_998 = objNull;
if (true) then
{
_this = createAgent ["Woodlander3", [1949.0999, 14508.797], [], 0, "CAN_COLLIDE"];
_unit_998 = _this;
_this setDir -169.17432;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI...