Arma Reforger Script API
Loading...
Searching...
No Matches
PerceivableComponent Interface Reference
Inheritance diagram for PerceivableComponent:
GameComponent CharacterPerceivableComponent VehiclePerceivableComponent SCR_CharacterPerceivableComponent SCR_VehiclePerceivableComponent

Public Member Functions

proto external EAIUnitType GetUnitType ()
 
proto external float GetVisualRecognitionFactor ()
 Returns overall visual recognition factor.
 
proto external float GetIlluminationFactor ()
 Represents ambient light, dynamic lights, own lights.
 
proto external float GetAmbientLV ()
 Returns ambient light LV value (logarithmic). Can be used for diagnostics.
 
proto external float GetSoundPower ()
 Returns our sound emission power.
 
proto external float GetEstimatedVisualSize ()
 Returns estimated size in meters. Currently it's calculated based on physics or visual bounding box.
 
proto external int GetAimpoints (out notnull array< vector > outPoints)
 Fills the provided array with the list of all aimpoints as locations in model space Returns the number of output elements.
 
proto external int GetAimpointsOfType (out notnull array< ref AimPoint > outPoints, EAimPointType type)
 
proto external bool IsDisarmed ()
 Returns true when this perceivable is considered disarmed.
 
proto external void SetDisarmed (bool disarmed)
 
proto external CompartmentAccessComponent GetCompartmentAccessComponent ()
 Compartment access component.
 
proto external bool IsInCompartment ()
 
proto external FactionAffiliationComponent GetFactionAffiliationComponent ()
 
proto external void SetPerceivedFactionOverride (Faction faction)
 Overrides faction value used by PerceptionComponents (see GetPerceivedFaction). Null value removes this override.
 
proto external Faction GetPerceivedFactionOverride ()
 Returns value set by SetPerceivedFactionOverride()
 
proto external Faction GetPerceivedFaction ()
 Returns value set by SetPerceivedFactionOverride if it is not null.
 
void EOnInit (IEntity owner)
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Member Function Documentation

◆ EOnInit()

void PerceivableComponent.EOnInit ( IEntity owner)

◆ GetAimpoints()

proto external int PerceivableComponent.GetAimpoints ( out notnull array< vector > outPoints)

Fills the provided array with the list of all aimpoints as locations in model space Returns the number of output elements.

◆ GetAimpointsOfType()

proto external int PerceivableComponent.GetAimpointsOfType ( out notnull array< ref AimPoint > outPoints,
EAimPointType type )

◆ GetAmbientLV()

proto external float PerceivableComponent.GetAmbientLV ( )

Returns ambient light LV value (logarithmic). Can be used for diagnostics.

◆ GetCompartmentAccessComponent()

proto external CompartmentAccessComponent PerceivableComponent.GetCompartmentAccessComponent ( )

Compartment access component.

◆ GetEstimatedVisualSize()

proto external float PerceivableComponent.GetEstimatedVisualSize ( )

Returns estimated size in meters. Currently it's calculated based on physics or visual bounding box.

◆ GetFactionAffiliationComponent()

proto external FactionAffiliationComponent PerceivableComponent.GetFactionAffiliationComponent ( )

◆ GetIlluminationFactor()

proto external float PerceivableComponent.GetIlluminationFactor ( )

Represents ambient light, dynamic lights, own lights.

◆ GetPerceivedFaction()

proto external Faction PerceivableComponent.GetPerceivedFaction ( )

Returns value set by SetPerceivedFactionOverride if it is not null.

Otherwise returns value from FactionAffilicationComponent. PerceptionComponent uses this method as well to resolve faction of target.

◆ GetPerceivedFactionOverride()

proto external Faction PerceivableComponent.GetPerceivedFactionOverride ( )

Returns value set by SetPerceivedFactionOverride()

◆ GetSoundPower()

proto external float PerceivableComponent.GetSoundPower ( )

Returns our sound emission power.

◆ GetUnitType()

proto external EAIUnitType PerceivableComponent.GetUnitType ( )

◆ GetVisualRecognitionFactor()

proto external float PerceivableComponent.GetVisualRecognitionFactor ( )

Returns overall visual recognition factor.

◆ IsDisarmed()

proto external bool PerceivableComponent.IsDisarmed ( )

Returns true when this perceivable is considered disarmed.

◆ IsInCompartment()

proto external bool PerceivableComponent.IsInCompartment ( )

◆ SetDisarmed()

proto external void PerceivableComponent.SetDisarmed ( bool disarmed)

◆ SetPerceivedFactionOverride()

proto external void PerceivableComponent.SetPerceivedFactionOverride ( Faction faction)

Overrides faction value used by PerceptionComponents (see GetPerceivedFaction). Null value removes this override.


The documentation for this interface was generated from the following file: