To add a health stat, all I did was add a public variable named "Health" in a script called 'Statistics', and set it to 100.
I don't have any combat mechanics in place to change the value, so I can't really do much more. The rest of the class I spent looking for tutorials for what I'm going to do tomorrow: adding a combat mechanic for swords and bows.
No comments:
Post a Comment