Jump to content

Edit Battlegrounder Behaviour


Recommended Posts

Hi,

I was wondering if there is a way to edit the way the battlegrounder fights?

Currently it looks seriously botty. It follows the same enemy target FOREVER, until death, even if there are other enemies nearby. It doesnt change targets at all, unless the target dies or you die. 

Would it be possible to hook an event and change the fight and follow behaviour? Or is there another way?

thanks

Link to comment
Share on other sites

Hello, you can create your own product/custom profile, or use event (with plugin or fightclass) to hook "FreeDefaultState" bg like:

        robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) =>
        {
            if (state == null ||
                string.IsNullOrWhiteSpace(state.DisplayName) ||
                state.DisplayName != "Free default")
                return;

            // put your bahaviour here:

            // if you don't want run base behaviour:
            cancelable.Cancel = true;
        };

 

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...