Method PlayerBotAI:GetUnit [-] [+]

Returns the Unit with the given GUID as seen by the bot, or nil.

Synopsis

unit = PlayerBotAI:GetUnit( guid )

Arguments

number guid

Valid numbers: integers from 0 to 18,446,744,073,709,551,615.

Returns

Unit unit
See method description.