Jump to content

A3E Can We Add Map Markers + Triggers?


dzrealkiller

Recommended Posts

Well you're a bundle of joy. Yes you are correct there are a lot of posts about scripting and yes I know how decrypt the mission.sqm and as for do some reading already have and learned how to decrypt the mission.sqf.

 

I went into ArmA 3 editor and created the triggers and markers and I placed them in the mission.sqf and the server don't load with the markers placed in the mission.sqm hence I was asking if there is a way to load them via an .sqf so perhaps It Is you that need to "just give reading a try" clearly there would be a reason for asking about loading them via an .sqf no need to reply rudely. As you know about all these posts telling how its done maybe you could be kind enough to post a link to said post?

 

​I have literally had 2 hours sleep so forgive me for asking a question instead of searching for hours on end...

Link to comment
Share on other sites

should not be rude .. sorry for that

 

 

mainly plus the A3 Epoch Resources Forum have most informations

 
first one is important because of loading scripts via HC
 
place your init - point to your addon.sqf and place something like that:
 
_trg = createTrigger["EmptyDetector",[17432.754,13171.49]];
_trg setTriggerArea[110, 80, 47, true];
_trg setTriggerActivation["east","PRESENT",true];
_trg setTriggerStatements["this", "hint 'east near player'", "hint 'no east near'"];
 
and
 
_markerstr = createMarker ["markername",[_Xpos,_Ypos]];
_markerstr setMarkerShape "ICON";
_markerstr setMarkerType "DOT";
 
and you´re done ;)
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...