Enable AI to move target points||doc135563

September 20, 2022

Format

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

Description

Enable AI to move the target point, the AI will move towards the target point


Parameters

Parameters type Description
enable bool Does it take effect

Code Samples

on the entity object servermount script, enable AI target points

this:enableAITargetPos(true)