16class AIAgent: GenericController
20 proto external
void SetLOD(
int newLOD);
37 static proto
int GetMaxLOD();
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Event which gets broadcasted from danger-causing places to AI.
ActionManager holds information about states of registered Contexts and Actions.
proto external void SetLOD(int newLOD)
proto external int GetLOD()
proto external bool IsAIActivated()
proto external int GetPermanentLOD()
proto external AIControlComponent GetControlComponent()
proto external AIBaseAimingComponent GetAimingComponent()
proto external void PreventMaxLOD(float preventTime=-1)
proto external void ActivateAI()
Activates AI group, removes unwanted prefabs, balances units count, sets on agent remove and add even...
proto external AICommunicationComponent GetCommunicationComponent()
proto AIDangerEvent GetDangerEvent(int index, out int outCount)
Internally similar danger events can be aggregated. In that case the new danger event is not put into...
proto external void DeactivateAI()
proto external AIGroup GetParentGroup()
proto external AIBaseMovementComponent GetMovementComponent()
proto external int GetDangerEventsCount()
event void OnLODChanged(int oldLOD, int newLOD)
proto external bool CountTowardsAIWorldLimit()
proto external void ClearDangerEvents(int howMany)
proto external ActionManager GetActionManager()
proto external void AllowMaxLOD()
proto external void SetPermanentLOD(int lod)
proto external void ExtractAIEvents(out notnull array< AIWaypoint > aiEvents)
SCR_EditableEntityComponent GetControlledEntity()