This is probably covered somewhere, but I haven't found it as yet. Is it possible to call a script from an event? One workaround I see is to use some kind of variable with a listener, but obviously if it's simpler than that I'm all ears. Hehe.
Yep, there are various steps for that in the function steps. You can e.g. call static functions or functions of a component attached to a game object using the Call Function step. There are also steps to check the return value of a function or change fields or properties.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games
or check out the face book page here https://www.facebook.com/ForeLoreGames
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Olive Branches ~ in development ~ now with a WEBSITE!!!
I've put my script on an empty object in my scene but I can't get to make it run...
forum.orkframework.com/discussion/3108/calling-a-harvest-animation-from-tpc-character#latest