Jump to content
Sign in to follow this  
bangabob

getmarkerAlpha for JIP markers

Recommended Posts

After realising that using a bis_fnc_MP to update a lot of markers actually causes tonnes of DeSYNC

I have decided to use the onplayerconnected Method instead. (tested on dedicated and confirmed works with no lag).

onplayerConnected {execVM "eos\eos_updatemarker.sqf"};

eos_updatemarker.sqf

{
friendlymarkers = ["markernames","markernames"]

_x setMarkercolor (getMarkercolor _x);
}foreach friendlymarkers;

So rant over. Is there a way of getting a markers alpha?

so

{
friendlymarkers = ["markernames","markernames"]
_x setMarkerAlpha (getMarkerAlpha _x);
_x setMarkercolor (getMarkercolor _x);
}foreach friendlymarkers;

RESOLVED

The command for getmarkerAlpha is

_x setMarkerAlpha (MarkerAlpha _x);

Edited by BangaBob
Resolved

Share this post


Link to post
Share on other sites

think youll have to store the change else where and call it from that - perhaps another array or Global variable and PV if theres not a regular update. Dont think you can setvariable markers either so that options out.

Share this post


Link to post
Share on other sites

im going to try this method since my markers are wrecked on JIP too

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
Sign in to follow this  

×