[BUG] EventBotTakeover not fired #474
Labels
area-API-GameEvents
needs-author-action
An issue or pull request that requires more info or actions from the author.
no-recent-activity
Hi, when writing this in the Load method of my plugin, I never see the corresponding log
RegisterEventHandler<EventBotTakeover>((@event, info) => { Console.WriteLine($"EventBotTakeover"); return HookResult.Continue; });
Wether in Post or Pre HookMode. I'm correctly registering to many other events without issues.
Please note that I do see a message in the logs when taking control of a bot (that is weirdly ordered if I'm honest) :
Player [BotName] took control bot [PlayerName] ([PlayerIndex])
My goal is to set the bot pawn's health when a player takes control of it (so the new player's pawn).
Please tell me if I am trying to use the wrong event to achieve this goal.
Thanks in advance and keep up the good work!
The text was updated successfully, but these errors were encountered: