once only -
hint format ["X = %1, Y = %2", getPos this select 0, getPos this select 1]
repeatedly -
Create script ping.sqs
Put this exec "ping.sqs" in init field of target unit.
;ping.sqs
#loop
hint format ["X = %1, Y = %2", getPos this select 0, getPos this select 1]
~10
goto "loop"
cheers
roni