FakePlayer Rewrite
Type of change
- [ ] Bug fix
- [x] New feature
Description
Lets the Fake Player take Damage and pop Totems. It also lets you play movement Recordings.
Related issues
none
How Has This Been Tested?
Trial and Error, Works with multiple Fake Player Entities as well.
Checklist:
- [x] My code follows the style guidelines of this project.
- [x] I have added comments to my code in more complex areas.
- [x] I have tested the code in both development and production environments.
I'm not sure about all these changes. When the damage setting is disabled you can still hit the entity and it simulates taking damage, just without a totem, which it wasn't like before. The movement recording thing seems really finicky; it isn't clear when it's recording and when it isn't, and it's pretty easy to completely break it if you start recording and playing at the same time with loop recording enabled.
I think this just needs a lot more polish. When it works it's pretty good but it just feels like this was committed before it's actually done.
@Wide-Cat I fixed the bugs you mentioned.
you could add a setting to allow them to be in network player list
you could add a way to send a message from one of the fake players
you could instead of having the settings global have them for each fakeplayer (this is just a suggestion dont really think you will add it)