Pages 1
Universal Fighting Engine Forum Due to increased bot activity, we have discontinued support through the forum. For assistance, questions, and community discussions, please join our official Discord server |
You are not logged in. Please login or register.
Universal Fighting Engine Forum → General → Force a move on a player?
It's definitely something that should be added if it's not. I'm not completely sure off the top of my head how to force run a TestCollision() hit.
UFE doesn't have a way to "force" a move, but you can force inputs instead. Take a look at this post:
http://www.ufe3d.com/forum/viewtopic.php?pid=9763#p9763
You can set a move to be executed by a specific input and just call on that input instead.
UFE doesn't have a way to "force" a move, but you can force inputs instead. Take a look at this post:
http://www.ufe3d.com/forum/viewtopic.php?pid=9763#p9763You can set a move to be executed by a specific input and just call on that input instead.
So theoretically you can have a "button" that is only used to initiate the stun state, make sure it's not map-able to a keyboard/gamepad, and then use this PressButton() method to initate the 'stun button' has been pressed by that player?
Mistermind wrote:UFE doesn't have a way to "force" a move, but you can force inputs instead. Take a look at this post:
http://www.ufe3d.com/forum/viewtopic.php?pid=9763#p9763You can set a move to be executed by a specific input and just call on that input instead.
So theoretically you can have a "button" that is only used to initiate the stun state, make sure it's not map-able to a keyboard/gamepad, and then use this PressButton() method to initate the 'stun button' has been pressed by that player?
Correct. You still need to add the button under Unity's input manager (and assign that under Global Editor's Input Options), but you can assign a dummy key.
Universal Fighting Engine Forum → General → Force a move on a player?
Powered by PunBB, supported by Informer Technologies, Inc.