Jump to content
Sign in to follow this  
mk-l

Moving target practice (training)

Recommended Posts

Hi,

I made this today :

7965322013061700001.jpg

But now, i want to moving the target (replay effect if possible?) ...

Anyone know how ?

Thank's

[RFF] MkL

Share this post


Link to post
Share on other sites

_curPos = getpos _sign;
_mode = -1 // or 1
while(true)
{
    _sign setpos [_curPos select 0 + _mode,_curPos select 1,_curpos select 2];
     _curPos getpos _sign;
    sleep 0.3;
}

Depending on West to east or North to South you need to switch the + mode around.

Share this post


Link to post
Share on other sites
_curPos = getpos _sign;
_mode = -1 // or 1
while(true)
{
    _sign setpos [_curPos select 0 + _mode,_curPos select 1,_curpos select 2];
     _curPos getpos _sign;
    sleep 0.3;
}

Depending on West to east or North to South you need to switch the + mode around.

Thank's Headswe but where i put that ?

I'm new with editor ;)

Share this post


Link to post
Share on other sites

why is it why when i as for the same thing, no one helps. Thanks for the code I just got off a 15 hr shift at the fire station and iam too tired to test it out.

Share this post


Link to post
Share on other sites

Ive just tried doing this how do i do it like in the challenges without having to download that script?

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  

×