Jump to content
Smitt14ua

Create "user defined" markers via script

Recommended Posts

Hi every one, i want to just create markers via script, which everyone can delete like a simple user marker (by double-click on a map).

Difference between user's marker and marker from script it's feature of deleting by pressing "delete".

Who know any function or way which can this?

Share this post


Link to post
Share on other sites
2 hours ago, Harzach said:

 

It's emulating of deleting. Sorry, but i want to find a way for creating original player's marker. Maybe, it's impossible?

Share this post


Link to post
Share on other sites

It was the only relevant solution I could find. Perhaps it is not possible.

Share this post


Link to post
Share on other sites

Any marker created starting with the name "_USER_DEFINED"  will be deletable via the map.

How you want to handle creating the marker remotely and JIP is down to your own preference.

 

  • Like 2
  • Thanks 2

Share this post


Link to post
Share on other sites
On 29.03.2018 at 12:21 PM, Larrow said:

Any marker created starting with the name "_USER_DEFINED"  will be deletable via the map.

How you want to handle creating the marker remotely and JIP is down to your own preference.

 

Thanks! It works!

Share this post


Link to post
Share on other sites
_marker = createMarker [format ["_USER_DEFINED #%1/%2/%3", getPlayerUID _unit, ceil(random 99999), currentChannel], _pos];

 

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

×