er, i tried it and everything works... exept the markers dont go to them... this is what i have
_deadMarkerType = _this select 0
_deadMarkerSize = _this select 1
_detectedByGroup = _this select 2
~2
#track
; check if player dead
?!(alive pl1): "pl1M" Setmarkertype _deadMarkerType && "pl1M" setmarkercolor "ColorRed" && "pl1M" setMarkerSize _deadMarkerSize
?!(alive pl2): "pl2M" Setmarkertype _deadMarkerType && "pl2M" setmarkercolor "ColorRed" && "pl2M" setMarkerSize _deadMarkerSize
?!(alive pl3): "pl3M" Setmarkertype _deadMarkerType && "pl3M" setmarkercolor "ColorRed" && "pl3M" setMarkerSize _deadMarkerSize
?!(alive pl4): "pl4M" Setmarkertype _deadMarkerType && "pl4M" setmarkercolor "ColorRed" && "pl4M" setMarkerSize _deadMarkerSize
?!(alive pl5): "pl5M" Setmarkertype _deadMarkerType && "pl5M" setmarkercolor "ColorRed" && "pl5M" setMarkerSize _deadMarkerSize
; check if player injured
?(getDammage pl1 > 0.3 && alive pl1): "pl1M" setMarkerColor "ColorYellow"
?(getDammage pl2 > 0.3 && alive pl2): "pl2M" setMarkerColor "ColorYellow"
?(getDammage pl3 > 0.3 && alive pl3): "pl3M" setMarkerColor "ColorYellow"
?(getDammage pl4 > 0.3 && alive pl4): "pl4M" setMarkerColor "ColorYellow"
?(getDammage pl5 > 0.3 && alive pl5): "pl5M" setMarkerColor "ColorYellow"
; move marker
?(leader _detectedByGroup knowsabout pl1 > 1) : "pl1M" SetMarkerPos GetPos pl1
?(leader _detectedByGroup knowsabout pl2 > 1) : "pl2M" SetMarkerPos GetPos pl2
?(leader _detectedByGroup knowsabout pl3 > 1) : "pl3M" SetMarkerPos GetPos pl3
?(leader _detectedByGroup knowsabout pl4 > 1) : "pl4M" SetMarkerPos GetPos pl4
?(leader _detectedByGroup knowsabout pl5 > 1) : "pl5M" SetMarkerPos GetPos pl5
goto "track"
my people to be followed by them are named pl1 pl2 pl3 pl4 pl5 and the markers are pl1m pl2m pl3m pl4m pl5m
the lookouts have lookout = groupthis in thier init field and i have my people to be followed as team1 = groupthis and i have the markers set off to the side of the map, my init.sqs looks like this
["marker",[0.25,0.25],lookout] exec "detectedUnitTracking.sqs"
exit
anything that you can see i did wrong?