This tutorial covers different methods to achieve what is called an ‘Editor Tick’ in Unreal Engine that will tick either on demand or at a set time interval without having to start game or play modes.
https://dev.epicgames.com/community/learning/tutorials/PBnR/creating-an-editor-tick-in-unreal-engine
Thanks for the shoutout! I’m so glad many people find the tutorial helpful
Hey @Lucky_Monk57 thanks for the awesome writeup! Really helpful.
I would maybe recommend adding the below to your tutorial if it helps others - after implementing this functionality I wanted to be able to toggle the tick on/off and control the speed without opening the Child BP up again.
I couldn’t find a way to set the actors variable Child Actor (BP_EditorTicker) for the ‘OnConstruct’, so I moved the construct script that sets the timer with an additional BPI function that sets the event timer.
This means the entire ‘construct’ event happens from the parent actor, where we can then simply pass through an exposed variable which we can set directly from the level
I am using this with the ‘Ultra Dynamic Sky’ asset so I can animate and check what day/night looks like in level in-editor without opening a BP
a great help !! one of those rare moments when I googled something, and this was the first thing that popped up, - and its exactly whAT i needed, - -and i got it going !!