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 guidLow

Bot GUID low.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

number state

Valid numbers: integers from 0 to 4,294,967,295.

Generated on
©2026 - ALE Lua Engine