Skip to content

Cleanup and refractor TBotScenarioMonitor #77

@T-Rizzle12

Description

@T-Rizzle12

At the current moment, TBotScenarioMonitor manages multiple things such as following the owner and group leader, swapping between weapons to reload, healing allies, holding the ordered position, and reviving downed player(s), "NOTE: Only with one addon at the current." The only issue is if the bot can only do one of these at a time since the bot suspends TBotScenarioMonitor with the desired action. As a result, the bot has issues such as focusing on following the player rather than healing, reviving, or reloading spare weapons. The hold command for the bots is VERY hacky here and makes it a pain to change how the bot follows its owner and group leader.

Essentially, I will be adding a new child action to TBotScenarioMonitor, TBotFollowerMonitor, that will handle following the owner and group leader as well as handling holding the position you order the bot to hold. This would fix the bot not reloading while following and fix the bot not healing and reviving if they were following their owner.

This is technically a regression since this didn't happen before the action system update.

Metadata

Metadata

Assignees

Labels

regressionThe issue didn't happen before

Projects

Status
Finished

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions