It's called markers.sqs and is called from the init line of the "player". I'm converting the mission from progressive base spawn points to Revive AI and I'm going to remove this script. I don't think it's that important as in the second-to-last section you can see typos where someone was cloning the lines and forgot to finish editing.
The mission also has a few triggers that keep the squad leaders full of ammo mags and the AI AT Specialists full of M136 rounds but I don't think those triggers are dependent on the script below.
Anyone have any idea? (script follows)
-------------------------------------------------------------
~3
? not local server : exit
loop
~0.5
_menoa1 = name a1
_menoa2 = name a2
_menoa3 = name a3
_menoa4 = name a4
_menoa5 = name a5
_menoa6 = name a6
_menoa7 = name a7
_menoa8 = name a8
_menoa9 = name a9
_menoa10 = name a10
_menoa11 = name a11
_menoa12 = name a12
_menoa13 = name a13
_menoa14 = name a14
_menoa15 = name a15
_menoa16 = name a16
_menoa17 = name a17
_menoa18 = name a18
_menoa19 = name a19
_menoa20 = name a20
?isplayer a1: "a1" SetMarkerPos [GetPos a1 select 0, GetPos a1 select 1]
?isplayer a2: "a2" setmarkerpos [GetPos a2 select 0, GetPos a2 select 1]
?isplayer a3: "a3" setmarkerpos [GetPos a3 select 0, GetPos a3 select 1]
?isplayer a4: "a4" SetMarkerPos [GetPos a4 select 0, GetPos a4 select 1]
?isplayer a5: "a5" setmarkerpos [GetPos a5 select 0, GetPos a5 select 1]
?isplayer a6: "a6" setmarkerpos [GetPos a6 select 0, GetPos a6 select 1]
?isplayer a7: "a7" SetMarkerPos [GetPos a7 select 0, GetPos a7 select 1]
?isplayer a8: "a8" setmarkerpos [GetPos a8 select 0, GetPos a8 select 1]
?isplayer a9: "a9" setmarkerpos [GetPos a9 select 0, GetPos a9 select 1]
?isplayer a10:"a10" SetMarkerPos [GetPos a10 select 0, GetPos a10 select 1]
?isplayer a11:"a11" setmarkerpos [GetPos a11 select 0, GetPos a11 select 1]
?isplayer a12:"a12" setmarkerpos [GetPos a12 select 0, GetPos a12 select 1]
?isplayer a13:"a13" SetMarkerPos [GetPos a13 select 0, GetPos a13 select 1]
?isplayer a14:"a14" setmarkerpos [GetPos a14 select 0, GetPos a14 select 1]
?isplayer a15:"a15" setmarkerpos [GetPos a15 select 0, GetPos a15 select 1]
?isplayer a16:"a16" SetMarkerPos [GetPos a16 select 0, GetPos a16 select 1]
?isplayer a17:"a17" setmarkerpos [GetPos a17 select 0, GetPos a17 select 1]
?isplayer a18:"a18" setmarkerpos [GetPos a18 select 0, GetPos a18 select 1]
?isplayer a19:"a19" SetMarkerPos [GetPos a19 select 0, GetPos a19 select 1]
?isplayer a20:"a20" setmarkerpos [GetPos a20 select 0, GetPos a20 select 1]
?(!isplayer a1 or !alive a1) : "a1" SetMarkerPos [0,0]
?(!isplayer a2 or !alive a2) : "a2" setmarkerpos [0,0]
?(!isplayer a3 or !alive a3) : "a3" setmarkerpos [0,0]
?(!isplayer a4 or !alive a4) : "a4" SetMarkerPos [0,0]
?(!isplayer a5 or !alive a5) : "a5" setmarkerpos [0,0]
?(!isplayer a6 or !alive a6) : "a6" setmarkerpos [0,0]
?(!isplayer a7 or !alive a7) : "a7" SetMarkerPos [0,0]
?(!isplayer a8 or !alive a8) : "a8" setmarkerpos [0,0]
?(!isplayer a9 or !alive a9) : "a9" setmarkerpos [0,0]
?(!isplayer a10 or !alive a10) : "a10" SetMarkerPos [0,0]
?(!isplayer a11 or !alive a11) : "a11" setmarkerpos [0,0]
?(!isplayer a12 or !alive a12) : "a12" setmarkerpos [0,0]
?(!isplayer a13 or !alive a10) : "a13" SetMarkerPos [0,0]
?(!isplayer a14 or !alive a11) : "a14" setmarkerpos [0,0]
?(!isplayer a15 or !alive a12) : "a15" setmarkerpos [0,0]
?(!isplayer a16 or !alive a10) : "a16" SetMarkerPos [0,0]
?(!isplayer a17 or !alive a11) : "a17" setmarkerpos [0,0]
?(!isplayer a18 or !alive a12) : "a18" setmarkerpos [0,0]
?(!isplayer a19 or !alive a10) : "a19" SetMarkerPos [0,0]
?(!isplayer a20 or !alive a11) : "a20" setmarkerpos [0,0]
"a1" setmarkertext _menoa1
"a2" setmarkertext _menoa2
"a3" setmarkertext _menoa3
"a4" setmarkertext _menoa4
"a5" setmarkertext _menoa5
"a6" setmarkertext _menoa6
"a7" setmarkertext _menoa7
"a8" setmarkertext _menoa8
"a9" setmarkertext _menoa9
"a10" setmarkertext _menoa10
"a11" setmarkertext _menoa11
"a12" setmarkertext _menoa12
"a13" setmarkertext _menoa13
"a14" setmarkertext _menoa14
"a15" setmarkertext _menoa15
"a16" setmarkertext _menoa16
"a17" setmarkertext _menoa17
"a18" setmarkertext _menoa18
"a19" setmarkertext _menoa19
"a20" setmarkertext _menoa20
goto "loop"