Hello;
I am looking for a way to enable or disable a plugin from the scripting level.
I am using a "smart evade" plugin to make characters move away from player in ways that keep them from getting stuck. (Script was posted here.)
I then created a push/pull mechanic following a tutorial.
The issue is that when the script is running it makes the push "away from player" avoid obstacles and turn comers which is *not* intended. I'd rather not scrap the smart evade script because of its uses in other parts of my game but I can't have push/pull mechanics making the player telekinetic.
So; is there a way for me to disable that plugin when the common event (for pushing and pulling) is called and then turn it back on when the common event ends?
I am looking for a way to enable or disable a plugin from the scripting level.
I am using a "smart evade" plugin to make characters move away from player in ways that keep them from getting stuck. (Script was posted here.)
I then created a push/pull mechanic following a tutorial.
The issue is that when the script is running it makes the push "away from player" avoid obstacles and turn comers which is *not* intended. I'd rather not scrap the smart evade script because of its uses in other parts of my game but I can't have push/pull mechanics making the player telekinetic.
So; is there a way for me to disable that plugin when the common event (for pushing and pulling) is called and then turn it back on when the common event ends?