you'd need to loop that naturally, so the whole thing would go
1. write in your init.sqs [] exec "marker.sqs"
2. in editor create a dude named dude and a marker called marker1
3. make a marker.sqs named script file in your mission folder and open it with notepad or whatever you're using.
4. write this little piece of script in the file
#loop
"marker1" setmarkerpos getpos dude
~0.1
goto "loop"
5. there is no 5.