Custom spawns not working

Bustednuts

New Member
I am getting a error in my rpt ,
12:04:29 Error in expression <7, 8905.78, 0]];
_this = setMarkerShape "ELLIPSE";
_this = setMarkerType "Empty">
12:04:29 Error position: <"ELLIPSE";
_this = setMarkerType "Empty">
12:04:29 Error Missing ;
12:04:29 File z\addons\dayz_server\DZAI\init\world_spawn_configs\custom_markers\cust_markers_napf.sqf, line 30
Not sure what I am doing wrong? Here is the marker file.
_this = createMarker ["Banditbase", [1517.27, 8905.78, 0]];
_this = setMarkerShape "ELLIPSE";
_this = setMarkerType "Empty";
_this = setMarkerBrush "Solid";
_this = setMarkerSize [400, 400];
_this = setMarkerAlpha 0;
_dzaicustomspawntest = _Banditbase;
 
change it to this
Code:
_this = createMarker ["Banditbase", 1517, 8905];
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Empty";
_this setMarkerBrush "Solid";
_this setMarkerSize [400, 400];
_this setMarkeralpha 0;
Banditbase = _this;
 
OK I did that now i get this error in the rpt,
"Napf spawn areas loaded."
17:13:44 "Napf static spawn configuration loaded."
17:13:44 Error in expression <qf"
_this = createMarker ["Banditbase", 1517, 8905];>
17:13:44 Error position: <createMarker ["Banditbase", 1517, 8905];>
17:13:44 Error 3 elements provided, 2 expected
 
OK I did that now i get this error in the rpt,
"Napf spawn areas loaded."
17:13:44 "Napf static spawn configuration loaded."
17:13:44 Error in expression <qf"
_this = createMarker ["Banditbase", 1517, 8905];>
17:13:44 Error position: <createMarker ["Banditbase", 1517, 8905];>
17:13:44 Error 3 elements provided, 2 expected
dam sorry dude missed a set of [ ] try this one
Code:
_this = createMarker ["Banditbase", [1517, 8905]];
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Empty";
_this setMarkerBrush "Solid";
_this setMarkerSize [400, 400];
_this setMarkeralpha 0;
Banditbase = _this;
 
Back
Top