Skip to forum content
| Universal Fighting Engine Forum
We are no longer using the forum to answer questions due to bot attacks. Please use our discord instead: https://discord.gg/hGMZhF7 |
You are not logged in. Please login or register.
Active topics
We are no longer using the forum to answer questions due to bot attacks. Please use our discord instead
https://discord.gg/hGMZhF7
Search options
After searching for quite some time, i finally found a solution for my problem:
Accessing the AbstractInputController.cs
making the protected Dictionary currentFrameInput public
and than changing the value like this : UFE.GetPlayer1Controller().humanController.currentFrameInputs[UFE.config.player1_Inputs[2]] = new InputEvents(true);
Using this, i can access all pressable buttons like this manually through script.
Ok, found out that the Windows Input Simulator works, though it has some major flaws in the case im using it. Having very repetitive button presses it seems to get stuck at a certain point, having only key downs, not key ups. So i would like to get back to function input.
Doesn't anybody know, where the function is located, that handles the input of the button press (keyboard or controller, from the Unity Input Manager)? Or does anybody have a different idea to give the ai the ability of individual moves, not already the combos?
Hello
i am working on an AI project, using the UFE as game base for training purposes.
I want to access button inputs through script, to give the AI the ability to press individual buttons, rather than accessing moves. I cant find the correlating function though, which handles the inputs of the buttons.
Thanks for your help!
Posts found: 3