Get the AI Controller||doc135559

September 20, 2022

Format

 Entity:getAIControl() 
  • The class to which the function belongs:Entity

Description

Get the entity's AI controller.

Value Returned

type Description
AIControl attribute value


Code Samples

on the entity object servermount script, get the AI controller of the entity

local control = this:getAIControl()