troy: feeling sea sixth
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwK62uk1xwlPRkRF980ZmUDeJdsRUIuYM_Fkt1SRwhMhcxPGndJrYC7LAUIzfHqiakqDeF1P6xjlaFNz7qmegjTcO5y0TvkYEELmJGVtW5pl9JVm7stovKaaHfGlqJrSumcme7HaFnU88/w292-h167/image.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_yTVJ6738YWYcVdAF8y20LBqcJxkQSh02NvH6QQNaTP6m36uz8HrQYoAt63Bqv1HhLlEl7j9kRullgRCABQAsy3_IgbN6Q9Yr9rnmGIecjBpZ8Y4K9ZsXuUeRP6UPMQr5yg09PY4YX6c/w320-h162/image.png)
As seen in the script, when the chariot runs out of health the game object is destroyed and a prefab called 'tombstone' is slapped into the world. So now we have to do something similar for the archers. And this mostly true, with the exception of the distance and removing the time frame so the archer dies instantly when hit by the chariots. Originally I wanted to spawn a tombstone when hit, but found that since the tombstone was identical to a dead chariot, it was extremely confusing to work out who actually died. So instead the archers spawn skeletons, and when testing I found that the chariots sent the archers flying which I found absolutely hilarious, so I put a timer in the script so the archers would be sent into the air and then turning into a skelington.
Comments
Post a Comment