Open T-Rizzle12 opened 2 months ago
Related #54
Made some more progress on this recently, I just need to make some adjustments before I can call it done.
Finished everything I needed to do here. Surprisingly this is very cheap to run compared to the older system.
The new state system is great, but adding and creating new states is very hard and time-consuming. I'm thinking of using my newfound knowledge about metatables to create a new state class that will allow me to create new states much more efficiently than before. Essentially, I will be recreating the Action system used by NextBots in Valve games such as Left 4 Dead and TF2. This will allow multiple states to run at once and even allow the bots to respond to hook events based on the active action. Currently, I have most of the framework done at the time I am posting this, but I still have a lot of work ahead of me.
TODO: