Jump to content

How to use “MoveManager” in the state the soul


wow20230625

Recommended Posts

Hello, can you share the party of your code? You call it from where ? GoToTask by default doesn't work if your character is dead, but if you use movementmanager you shouldn't have this problem.

Link to comment
Share on other sites

4 hours ago, Droidz said:

Hello, can you share the party of your code? You call it from where ? GoToTask by default doesn't work if your character is dead, but if you use movementmanager you shouldn't have this problem.

In Quester mode,RunCode:MovementManager.Go(PathFinder.FindPath(new Vector3(819.1201, 541.1679, 34.26245, "None")), false);

Link to comment
Share on other sites

You need to wait after movementmanager usage :

        MovementManager.Go(PathFinder.FindPath(new Vector3(819.1201, 541.1679, 34.26245, "None")), false);
        while (MovementManager.InMovement &&
               Conditions.InGameAndConnectedAndProductStartedNotInPause)
        {
            Thread.Sleep(100);
        }

But, I don't think the quester executes this code from a runcode step when the character is dead.

Link to comment
Share on other sites

On 7/15/2023 at 2:31 AM, Droidz said:

You need to wait after movementmanager usage :

        MovementManager.Go(PathFinder.FindPath(new Vector3(819.1201, 541.1679, 34.26245, "None")), false);
        while (MovementManager.InMovement &&
               Conditions.InGameAndConnectedAndProductStartedNotInPause)
        {
            Thread.Sleep(100);
        }

But, I don't think the quester executes this code from a runcode step when the character is dead.

I think because I'm not accurate enough,I describe it in detail:
In Quester mode, character will force automatically search for bodies, Can't use a custom script control movement.
How to let it is not automatic, but using a script to control.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...