I'm currently using the script animations in the player file to handle detecting when a player is using a certain item, ie;
- In the player file, set up the animate script to run an external animation controller
- In said animation controller detect when the player is holding and using a specific item
- Switch states and upon entry of next state run an event in the player file
However currently when the player dies all scripts break but everything in the player file still works.
Reloading does fix the issue, I assume because the scripts are started again when the player file is loaded, which they aren't when the player dies.