Jump to content
Sign in to follow this  
Valeriy

Problem with the command setbehaviour, help!

Recommended Posts

example:

gormen1 SetBehaviour "SAFE"; gormen1 setspeedmode "limited"; gormen1 domove getpos airob1

but gormen1 runs, but how to force its go slowly?

Share this post


Link to post
Share on other sites

Where did you put the command? The other question is why 'gormen1 domove getpos airob1' couldn't you do this with a waypoint? It would be easyer. A little more information would help in answering your question.

Share this post


Link to post
Share on other sites

Maybe gormen1 is part of group with another speedlimit. Try to use move instead of domove.

Share this post


Link to post
Share on other sites

Valeriy,

you should do this if you want him to move slow:

gormen1 setcombatmode "BLUE";

gormen1 setbehaviour "CARELESS";

then call:

gormen1 setspeedmode "limited";

gormen1 domove getpos airob1

Your unit should move slow after that.

Share this post


Link to post
Share on other sites

I think you best do it with a waypoint like said before.

He s in safe mode, gun on back but not walking slowly whatever i try.

Would be good to know how you exactly want to use it.

But if it s an AI player you want to move to a certain point or other AI unit when you enter a certain zone do it with a waypoint.

Make your two units, gormen1 and airob1.

Give gormen1 a waypoint next to or onto airob1 and make it a "move" waypoint, behaviour safe, never fire.

Now make a trigger and make the conditions how you want them to be. Or just leave them to "this" if you want gormen to walk to robair as soon as you enter the trigger.

Activation : West ( or the side you re on )

Type : switch

Now synchronise that trigger with the "move" waypoint.

Now he walks slowly.

Hope this help, it s just guessing with the little info you gave us m8.

Cheers

Share this post


Link to post
Share on other sites

I interest only that possible do in scenario *.sqs

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  

×