MothCocoon / FlowGraph

Design-agnostic node system for scripting game’s flow in Unreal Engine
https://discord.gg/Xmtr6GhbmW
MIT License
1.22k stars 241 forks source link

Add option to loop indefinitely in Timer node #138

Closed ryanjon2040 closed 1 year ago

ryanjon2040 commented 1 year ago

New option to loop the timer indefinitely. If the option is true, it will execute Step pin every StepTime unless Skip is called.

MothDoctor commented 1 year ago

Hi, finally I decided to skip this PR. It's nothing technically wrong with the code itself. You see... it would allow inexperienced designers to abuse infinite Timer like they would abuse blueprint Tick, by using it instead of proper event-based architecture enclosed in specific nodes.

It might be a better idea to make a separate "tick" node to support cases where we really want to repeat some actions indefinitely. This way we would also avoid making a single node too complicated :)