Creates follow entity AI type.
AI type prototype
Occurs when entity this instance is assigned to this AI type instance, if you override this method, be sure to assign entity to EntityAIClass.EntityAIPrototype.
Gets any AI object by it's name from the current controller.
AI name
Method that is called to create AI type instance using current instance as pattern.
Object containing the state of the AI type.
Optional
entityNumeric unique entity idenifier that uses this AI type
instance or null
if it is the pattern.
If set to true, it is an instance of AI type, else the pattern (pattern should not be modified directly, AI controller calls instantiate to create instances of AI type).
All the parameters of the AI instance.
Optional
parentInstantiated custom entity that uses this AI type
instance or null
if it is the pattern.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Follow AI type, entity follows it's target. Use another AI type to set target for this AI type.