I'm using I'm trying to create a static mission. I replaced this line:
_position = [80] call find_position;
with this line:
_position = [13538.621,5309.9609,0];
The log is throwing this error:
h_missionrunning = false; };> 16:11:11 Error position: <};> 16:11:11 Error Missing { 16:11:11 File z\addons\dayz_server\WAI\missions\hero\sorenberg.sqf, line 150 16:11:11 Error in expression <,_position];
I assume I have _position formatted incorrectly? How should that line be formated?
My next issues is with the placement of objects in the mission with static positions. How do you specify a direction? For example:
_baserunover0 = createVehicle ["MAP_Barbedwire",[13420.917, 5374.373, -4.5776367e-005],[], 0, "CAN_COLLIDE"];
I want that object to be facing a direction of -56.326088. If this were just a map addon, I'd use the setDir command. Is there a way to specify the direction of something in a static mission like this?
Lastly, I wanted to have M240 machine gun nests as static guns in the mission. I used this
[[13424.713, 5373.127, 0],"Fort_Nest_M240","random","bandit","bandit",0,2,"random","random",_mission] call spawn_static; [[13589.972, 5244.6523,0],"Fort_Nest_M240","random","bandit","bandit",0,2,"random","random",_mission] call spawn_static;
They didn't show up.