Try it. If you execute this locally, everybody can see the markers. createMarkerLocal is not local. deleteMarkerLocal is.
Description
Description
Details
Details
- Legacy ID
- 1134785893
- Severity
- None
- Resolution
- No Bug
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
{
deleteMarkerLocal (name _x);
_marker = createMarkerLocal [(name _x), getPos _x];
_marker setMarkerColorLocal "ColorBlack";
_marker setMarkerTypeLocal "n_inf";
_marker setMarkerText (name _x);
}
forEach allPlayers;
Event Timeline
Comment Actions
I wasn't able to reproduce this issue. How exactly are you executing the code? Is it possible it's being executed globally?
Comment Actions
I think I pasted the wrong code in here. If you use "setMarkerText" instead of "setMarkerTextLocal" it will turn the local marker into a global one. Sorry for that.