Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
PerceptionComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
12 class PerceptionComponentClass: AIComponentEntityClass
13 {
14 }
15 
16 class PerceptionComponent: AIComponentEntity
17 {
18  proto external int GetSimulateCounter();
19  proto external int GetTargetsList(out notnull array<BaseTarget> outTargets, ETargetCategory category);
23  proto external int GetTargetCount(ETargetCategory category);
24  proto external BaseTarget GetLastSeenTarget(ETargetCategory category, float timeSinceSeenMax);
25  proto external BaseTarget GetTargetPerceptionObject(IEntity entityToFind, ETargetCategory targetCategory);
27  proto external BaseTarget FindTargetPerceptionObject(IEntity entityToFind);
28  proto external BaseTarget GetClosestTarget(ETargetCategory category, float timeSinceSeenMax, float timeSinceDetectedMax);
30  proto external void SetPerceptionFactor(float value);
31  // Returns the desired update interval of Perception Component. It depends on LOD level.
32  proto external float GetUpdateInterval();
33  proto external IEntity GetFriendlyInLineOfFire();
34  proto external void SetFriendlyFireCheck(bool on);
35 }
36 
GetTargetCount
proto external int GetTargetCount(ETargetCategory category)
PerceptionComponentClass
Definition: PerceptionComponent.c:12
GetClosestTarget
proto external BaseTarget GetClosestTarget(ETargetCategory category, float timeSinceSeenMax, float timeSinceDetectedMax)
ETargetCategory
ETargetCategory
Definition: ETargetCategory.c:12
GetUpdateInterval
proto external float GetUpdateInterval()
GetFriendlyInLineOfFire
proto external IEntity GetFriendlyInLineOfFire()
BaseTarget
Definition: BaseTarget.c:12
GetSimulateCounter
PerceptionComponentClass AIComponentEntityClass GetSimulateCounter()
FindTargetPerceptionObject
proto external BaseTarget FindTargetPerceptionObject(IEntity entityToFind)
Same as GetTargetPerceptionObject, but searches in all categories.
SetPerceptionFactor
proto external void SetPerceptionFactor(float value)
Sets perception factor - how good this AI can recognize enemy, independent of enemy state....
GetTargetPerceptionObject
proto external BaseTarget GetTargetPerceptionObject(IEntity entityToFind, ETargetCategory targetCategory)
GetTargetsList
proto external int GetTargetsList(out notnull array< BaseTarget > outTargets, ETargetCategory category)
SetFriendlyFireCheck
proto external void SetFriendlyFireCheck(bool on)
GetLastSeenTarget
proto external BaseTarget GetLastSeenTarget(ETargetCategory category, float timeSinceSeenMax)
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180