I am trying to finish up the Arachnadrone fight for my game, but for some reason, whenever I try to spawn in a new entity with the boss battle script or try to change the costume of the entity the script is attached to(after Arachnadrone stabilizes after they’re defeated), it gives me errors, and for some reason 2 of them cause the defeated animation to stop working, and the last one gives 2-6 errors each time you try to spawn the acid spit attack, but it manages to spawn one.
the bigger problem is I just made it out of a lack of motivation state, and now I want to feel more unmotivated because I cannot figure this out
Link to the script: PlayCanvas | HTML5 Game Engine
the parts that need fixing are under the comments: “attack with acid” for the acid attack problem, and “Spawn Helmet when the helmet breaks off” for the helmet spawning and the sprite animation errors