Jump to content
Sign in to follow this  
Murklor

Walking in safe mode without a waypoint?

Recommended Posts

I tried this:

_peep assignAsCargo _vehicle;
[_peep] orderGetIn true;
_peep setSpeedMode "LIMITED";
_peep setBehaviour "SAFE";

And the bastard still run like his arse is on fire to the vehicle. How do I get the unit to walk slowly to the vehicle??? Or do one have to fiddle with dynamicly generated waypoints?

Share this post


Link to post
Share on other sites

Move him up to the vehicle first.

A get in command will override a walking footspeed because the unit will try to get in the car etc. as quickly as possible from the moment th eorder is issued.

Try something like this:

_peep setSpeedMode "LIMITED";
_peep setBehaviour "SAFE";
_peep domove (getpos _vehicle);
while {(_peep distance _vehicle) > 10} do
{
    sleep 5;
};
_peep assignAsCargo _vehicle;
[_peep] orderGetIn true;

Share this post


Link to post
Share on other sites

Ah, that's a good idea. I was hoping to avoid any unneeded steps but I suppose they'll have to do that then.

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  

×