Jump to content
Sign in to follow this  
Aculaud

Infantry guy stops in his tracks and proceeds

Recommended Posts

how can i make an infantry guy stop dead in his tracks, and not take another step until i say so and then he resumes his course when i give the command?

Share this post


Link to post
Share on other sites

to stop him you can use</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">guy disableai "move"<span id='postcolor'>but i'm not sure you can enable it again

Share this post


Link to post
Share on other sites

or you can just use CommandStop or DoStop.

The problem i'm having is getting him to just continue following his waypoints when i say so.

Share this post


Link to post
Share on other sites

Waypoint(Move) -----> Waypoint(Scripted) -----> Waypoint(Move)

In the scripted waypoint put the name of the script (dostop.sqs)

In the script put

DoStop

@Trigger1

exit

Put trigger1=false in your characters init field

Then make a trigger for your command, in activation, put something like Trigger1=true

Should work, because he'll halt in his waypoints for a scripted command, as soon as that script exits he'll resume his waypoints.

Share this post


Link to post
Share on other sites

Have you tried the stop command?

guy stop true

@let_the_poor_guy_go

guy stop false

I think that it work pretty well..

Share this post


Link to post
Share on other sites

It Worked!!! Thanks, Thorn. You new Avatar looks great, btw.

Share this post


Link to post
Share on other sites

Anytime!

And thanks, the image is from tool's album's "Lateralus" sleeve..

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  

×