# Unit Has AI Option

Grammar — Get the UnitAIOption option of unit u
FlagsNative | Function

Returns true if the unit has the specified AI option enabled.

# Arguments

Returns — bool

native bool UnitGetAIOption(unit inUnit, int inOption);

Category: AI Advanced / Utility / Functions

# Examples

— None found —