Topic: How to programmatically call a move of a character with parameters?

I would like to activate/call a move of a player programmatically, and pass specific integer values for a self-applied force.

I see there is a function:
CastMove(MoveInfo move, bool overrideCurrentMove = false, bool forceGrounded = false, bool castWarning = false)

But I need to pass some parameters and use them in the self-applied force of the move... is there an easy way to do this?

Thank you.

Share

Thumbs up Thumbs down

2 (edited by Mistermind 2023-02-20 22:04:43)

Re: How to programmatically call a move of a character with parameters?

There is no direct way to do that, but you can try following these instructions:
http://www.ufe3d.com/forum/viewtopic.php?id=2519

Edit:
The function "UFEController.PressButton" mentioned in the replied post has been added in later versions of the tool.

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.