Reply To: Get object in custom script

Slate Forums Support Get object in custom script Reply To: Get object in custom script

#2065
Gavalakis
Keymaster

Hello there,

You can override and use the OnInitialize method in your custom ActionClip.

Notice that you need to return true or false (usually true). True if the initialization was successful, or false if it was not.
OnInitialize is called when the cutscene is initialized

Another way would of course be to do things you want to do in the OnEnter override, which is called every time the ActionClip is entered.

Let me know if that works for you.

Join us on Discord: https://discord.gg/97q2Rjh