I attached an example mission with my marker script and functions on the bottom.
There are some things different from other marker scripts like F2, but I think my script is easy enough to understand, if not easier.
A few things worth mentioning are:
- I spawn a function to start each group marker tracker, because this way I don't access the HDD a gazillion times and do unnecessary duplicate preprocessing.
- The amount of arguments is variable, either 4 or 5, with the 5th being the setGroupID. Reason I did this is because some people don't like markers scripts doing more then they asked for, so that's why I made it optional.
- The way to choose the appropriate markers is very easy: ["Infantry", "Fireteam"]
Documentation about each argument is in the groupMarkers.sqf file
Let me know what you think of it.