Download

Construction Script

I can’t find anything on this but what exactly is the Construction Script used for?

It is used to do things before game starts. Every actor when loaded executes construction scripts. You can set values to variables there, add some meshes (for eg create whole level). Also what you do in construction script is visible during editing. So it is great place for any procedurally generated content.

However it has serious limitations, not all nodes work there, you cannot rely on other actors being loaded, for eg you should not get reference to player and do somethong based on it, because in most cases player will not be loaded during construction script of another actor. It also may behave differently in pie game and packaged game (depends on references to another actors).

So tricky beast but very handy.