marker.sqs
_player = _this select 0
_playermarker = _this select 1
_playermarkerself = _this select 2
#Repeat
_playermarker setmarkerpos [getpos _player select 0, getpos _player select 1]
_playermarkerself setmarkerpos [getpos _player select 0, getpos _player select 1]
~1
goto "Repeat"
The script is excuted by...
[this,"marker1","marker2"] exec "marker.sqs"
The problem is _player means nothing after the unit is killed, so I've tried player aswell and that wierdly makes everyone elses markers assigned in their init to follow each player, eg. marker1 is ment to follow w1, and marker2 is ment to follow w2 although w1 will see all the markers follow him at the same time w2 will see all the markers follow him aswell. It seems JasonO has also got a similar problem in another recent thread in this forum. _player is local and player can't be used for all the units. Any one got a solution? apart from making loads of scripts and triggers specially for 1 unit, in this case I cant do that.