Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
AIAgent.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
15
16class AIAgent: GenericController
17{
18 proto external IEntity GetControlledEntity();
19 proto external AIGroup GetParentGroup();
20 proto external void SetLOD(int newLOD);
21 proto external int GetLOD();
22 /*
23 * Sets LOD that is to be forced upon the Agent.
24 * @param lod between -1 and MaxLOD
25 */
26 proto external void SetPermanentLOD(int lod);
27 proto external int GetPermanentLOD();
28 /*
29 * AIAgent won't be able to reach MaxLOD unless set by PermanentLOD;
30 * Warning: If the AIAgent is in LOD10 this won't change it;
31 */
32 proto external void PreventMaxLOD(float preventTime = -1);
33 proto external void AllowMaxLOD();
34 /*
35 * AIAgents get disabled in MaxLOD by default.
36 */
37 static proto int GetMaxLOD();
38 //Does AIAgent affects AIWorld limit of AIs
39 proto external bool CountTowardsAIWorldLimit();
40 proto external int GetDangerEventsCount();
42 proto AIDangerEvent GetDangerEvent(int index, out int outCount);
43 proto external void ClearDangerEvents(int howMany);
44 // It moves events form agent into an array and clear the queue in agent
45 proto external void ExtractAIEvents(out notnull array<AIWaypoint> aiEvents);
47 proto external AICommunicationComponent GetCommunicationComponent();
48 proto external AIControlComponent GetControlComponent();
49 proto external AIBaseMovementComponent GetMovementComponent();
50 //GetAimingComponent() returns nullptr as base AIAgent doesn't provide aiming
51 proto external AIBaseAimingComponent GetAimingComponent();
52 // enabling, disabling, switching to player control on controlComponent
53 proto external void ActivateAI();
54 proto external void DeactivateAI();
55 proto external bool IsAIActivated();
56
57 // callbacks
58
59 event void OnLODChanged(int oldLOD, int newLOD);
60}
61
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()