Custom spawns not working

Discussion in 'Support & Release' started by Bustednuts, Nov 18, 2014.

  1. Bustednuts

    Bustednuts New Member

    Joined:
    Nov 18, 2014
    Messages:
    5
    Likes Received:
    0
    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;
     
  2. FallingSheep

    FallingSheep OpenDayZ Lord!

    Joined:
    Mar 17, 2013
    Messages:
    1,990
    Likes Received:
    581
    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;
    
     
  3. Bustednuts

    Bustednuts New Member

    Joined:
    Nov 18, 2014
    Messages:
    5
    Likes Received:
    0
    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
     
  4. FallingSheep

    FallingSheep OpenDayZ Lord!

    Joined:
    Mar 17, 2013
    Messages:
    1,990
    Likes Received:
    581
    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;
    
     
  5. Bustednuts

    Bustednuts New Member

    Joined:
    Nov 18, 2014
    Messages:
    5
    Likes Received:
    0
    Thanks ! Works perfectly!
     

Share This Page