Doesnt seem to work
No markers at all are shown flashing
The script looks like:
#loop
?(flagowner vlajkaUSA == ownerU) : "us_flag_1" SetMarkerPos (GetPos ownerU)
?(flagowner vlajkaRUS == ownerR) : "rus_flag_1" SetMarkerPos (GetPos ownerR)
?(flagowner vlajkaUSA == ownerU) : "us_flag" SetMarkerColor "ColorRed"
?(flagowner vlajkaRUS == ownerR) : "rus_flag" SetMarkerColor "ColorRed"
?(flagowner vlajkaUSA == ownerU) : "us_flag_1" SetMarkerType "Marker"
?(flagowner vlajkaRUS == ownerR) : "rus_flag_1" SetMarkerType "Marker"
~1
?(flagowner vlajkaUSA == ownerU) : "us_flag" SetMarkerColor "ColorGreen"
?(flagowner vlajkaRUS == ownerR) : "rus_flag" SetMarkerColor "ColorGreen"
?(flagowner vlajkaUSA == ownerU) : "us_flag_1" SetMarkerType "Flag1"
?(flagowner vlajkaRUS == ownerR) : "rus_flag_1" SetMarkerType "Flag1"
; If you don't add a delay here then the pretty marker colours won't flash
~1
; Check whether or not the flag carrier is dead.
?(not alive flagowner vlajkaUSA) : goto "reset_marker_usa"
?(not alive flagowner vlajkaRUS) : goto "reset_marker_rus"
; Check whether or not the owner has been set to null
?(ownerU == objNull) : goto "reset_marker_usa"
?(ownerR == objNull) : goto "reset_marker_rus"
; Finally return to the loop.
goto "loop"
; Reset the Nato marker to its flagpole.
#reset_marker_usa
"us_flag_1" SetMarkerPos (GetPos vlajkaUSA)
exit
; Reset the Russian marker to its flagpole.
#reset_marker_rus
"rus_flag_1" SetMarkerPos (GetPos vlajkaRUS)
exit
goto "loop"