Hi all.
I'm going crazy with these new local commands for markers. In a Deathmatch I want OPFOR markers to be hidden from BLUFOR and viceversa. The solution I have doesn't seem to work. Does anyone have any ideas why? The markers are placed in editor and unfortunatly shows on all computers regardless of the players side.
The "serverpos" is a position that is broadcasted through publicVariable from the server. The markers are then on a loop to track your friendly AI groups.
Important question: Do the local marker commands only work if they are created locally in a script and not placed in the editor?
###init.sqs###
? local player AND side player == east : goto "east"
? local player AND side player == west : goto "west"
#east
"westmapmarker" setmarkertypelocal "Empty"
"wm1" setmarkertypelocal "Empty"
"wm2" setmarkertypelocal "Empty"
"wm3" setmarkertypelocal "Empty"
"wm4" setmarkertypelocal "Empty"
"wm5" setmarkertypelocal "Empty"
"wm6" setmarkertypelocal "Empty"
"wm7" setmarkertypelocal "Empty"
"wm8" setmarkertypelocal "Empty"
"wm9" setmarkertypelocal "Empty"
"wm10" setmarkertypelocal "Empty"
goto "eastloop"
#west
"eastmapmarker" setmarkertypelocal "Empty"
"em1" setmarkertypelocal "Empty"
"em2" setmarkertypelocal "Empty"
"em3" setmarkertypelocal "Empty"
"em4" setmarkertypelocal "Empty"
"em5" setmarkertypelocal "Empty"
"em6" setmarkertypelocal "Empty"
"em7" setmarkertypelocal "Empty"
"em8" setmarkertypelocal "Empty"
"em9" setmarkertypelocal "Empty"
"em10" setmarkertypelocal "Empty"
"eastammo1" setmarkertypelocal "Empty"
"eastammo2" setmarkertypelocal "Empty"
goto "westloop"
#westloop
"wm1" setmarkerposlocal wm1serverpos
"wm2" setmarkerposlocal wm2serverpos
"wm3" setmarkerposlocal wm3serverpos
"wm4" setmarkerposlocal wm4serverpos
"wm5" setmarkerposlocal wm5serverpos
"wm6" setmarkerposlocal wm6serverpos
"wm7" setmarkerposlocal wm7serverpos
"wm8" setmarkerposlocal wm8serverpos
"wm9" setmarkerposlocal wm9serverpos
"wm10" setmarkerposlocal wm10serverpos
~ 1
goto "westloop"
#eastloop
"em1" setmarkerposlocal em1serverpos
"em2" setmarkerposlocal em2serverpos
"em3" setmarkerposlocal em3serverpos
"em4" setmarkerposlocal em4serverpos
"em5" setmarkerposlocal em5serverpos
"em6" setmarkerposlocal em6serverpos
"em7" setmarkerposlocal em7serverpos
"em8" setmarkerposlocal em8serverpos
"em9" setmarkerposlocal em9serverpos
"em10" setmarkerposlocal em10serverpos
~ 1
goto "eastloop"
###end-init.sqs###
Please help!!!
Cheers
Laggy