Method PlayerBot:IsPlayerbot [-] [+]

Returns true if the Player is driven by a playerbot AI, false otherwise.

Unlike Player:IsBot, which only looks at the session, this checks that a playerbot AI is actually attached to the Player.

Synopsis

isPlayerbot = PlayerBot:IsPlayerbot()

Arguments

None.

Returns

boolean isPlayerbot
See method description.