Timed Events System

How do I…

How do I make action command similar to mario and luigi example: https://www.youtube.com/watch?v=pAiwqa3B8L8

Instead, My system is fine i just want a better way (excuse my messy code)

Related screenshots

Can you explain what you mean with “action command similar to mario and luigi”? I don’t know what I’m looking for in the video. Can you describe how you want it to work? Because I, for one, don’t understand what this action command is.

Shoot I was not clear on that at all what I mean is a timed event system just when clicked in a certain frames of time like this


Unfortunately Expressions don’t like to wait even when Asynchronous is ticked which is why a seemingly simple solution has taken me ages to figure out

I don’t think you’re using it correctly. The asynchronous function you created doesn’t hang around until the result it true. It fires once and returns true or false depending on the timer and mouse click.

And the “Trigger once” in first event (where Hit is declared as a local variable) will only kick off once. Meaning your Player::AClick() action only gets processed once.

It just looks like the logic is flawed. And wanton use of “Trigger Once” conditions is not the way to solve or get around it.

I think instead that Player::AClick() function should be a condition. But I’m not exactly sure how it should be used because I’m not clear on when the “Hit = 1” and “Hit = 0” condition should be applied.

I’ve tried conditions same results
And I am well aware that

a wanton use of “Trigger Once ” conditions is not the way to solve or get around it.

using it as a condition will be the way to go. Can you screen shot the events when it’s modified as a condition? There may be something not quite right with the way it gets done.