Jump to content

Recommended Posts

So i am trying to import markers into my Chernarus map for arma 3

 

from what I understand I can add a script into the initserver.sqf and have that within the init.sqf and then load my mission.sqm to import them

 

but my script does not seem to import.

 

 

maybe someone can help me figure out why

 

Spoiler

_SpawnZone = ["SpawnBerezino","[3811.2065,310.98553,8950.8486]","Berezino","ExileTraderZoneIcon"];
{
private _markerName = select 0;
private _markerPos = select 1;
private _markerText = select 2;
private _markerType = select 3;

_Spawn = createMarker ["_MarkerName", [_markerPos]];
_Spawn setMarkerText "_MarkerText";
_Spawn setMarkerType "_MarkerType";
} forEach _Spawn;

 

 

Share this post


Link to post
Share on other sites
_spawnZone = [
	"SpawnBerezino",
	"[3811.2065,310.98553,8950.8486]",
	"Berezino",
	"ExileTraderZoneIcon"
];
private _markerName = _spawnZone select 0;
private _markerPos = _spawnZone select 1;
private _markerText = _spawnZone select 2;
private _markerType = _spawnZone select 3;
_spawn = createMarker [_markerName, _markerPos];
_spawn setMarkerText _markerText;
_spawn setMarkerType _markerType;

 

Share this post


Link to post
Share on other sites
37 minutes ago, davidoss said:



_spawn = createMarker [_markerName, [_markerPos]];

 

 

Obviously not gonna work as _markerPos is already an array

  • Like 1

Share this post


Link to post
Share on other sites

ok what would be the proper script i can use, the issue I am having is as follows, I have the new arma 3 editor which changes the format of coordinates within markers, but i have old markers which I need to import into the new map.

I have over 80 markers i need to import

I Do not want to have to just create new ones within the editor but instead import my existing markers.

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×