Get AI configuration||doc135566

September 20, 2022

Format

AIControl:aiData(key)
  • The class to which the function belongs:AIControl

Description

Get the AI configuration information of the entity.


Value Returned

type Description
variant attribute value


Code Samples

on the entity object servermount script, get the "danceAction" AI configuration information of the entity

local control = this:getAIControl()
control:aiData("danceAction")