Enabling LongPress Ability Feedback inside of MessageMonitor

GrillMaster

Member
Hello all,

This is a very small tweak, but it enables some of the polish you might see in other games when you have to press down a button in order to perform a task - in our case, it is using the LongPress StartType on any of our abilities. All this does is add a Slider component to your MessageMonitor to accompany the message text itself - when a LongPress ability is attempting to start, the Ability will send an event "OnAbilityInputDelayedStart" to any listeners - in our case, this is the MessageMonitor.

On LongPress start, the slider will begin to fill scaled to the duration set by the Ability - if we cancel the input, the slider will rapidly drain back to zero before hiding itself. That's pretty much it.

Something in the code is not agreeing with the website - I'm including a instructions file.

Please let me know if anything in there should be clarified.
 

Attachments

Last edited:
Back
Top