Jump to content
Sign in to follow this  
daza

Loop/Moving marker script don't want to move

Recommended Posts

I'm having a bit of trouble getting a marker to follow a vehicle, i have used this method with success in A2 but for some reason it doesn't want to work in A3.

while {alive sou1} do

{
"mark1" setmarkerpos (getpos sou1);
sleep 1;
};

Any ideas why this isn't working?

Share this post


Link to post
Share on other sites

while {alive sou1} do

{
"mark1" setMarkerPos getpos sou1;
sleep 1;
};

This worked for me.

Share this post


Link to post
Share on other sites
while {alive sou1} do

{
"mark1" setMarkerPos getpos sou1;
sleep 1;
};

This worked for me.

Thanks Hohenz for your reply. I got it working, i had missed a ; on one of my other lines in the script (its been a while since ive done scripting) I have since put on -showscripterrors which is mighty helpful most of the time.

Edited by Daza

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×