Method PlayerBot:GetBotAI [-] [+]
Returns the [PlayerbotAI] driving the Player, or nil when it is not a bot.
The returned object is only valid for the duration of the current call, do not store it across hooks, fetch it again instead.
Synopsis
botAI = PlayerBot:GetBotAI()
Arguments
None.
Returns
PlayerbotAI botAI- See method description.