Method PlayerBot.GetBotState [-] [+]
Return the bot's current AI state.
State values are the BotState enum from mod-playerbots:
- 0 = combat
- 1 = non-combat
- 2 = dead
Synopsis
state = Playerbot.GetBotState( guidLow )
Arguments
number guidLowBot GUID low.
Valid numbers: integers from 0 to 4,294,967,295.
Returns
number stateValid numbers: integers from 0 to 4,294,967,295.