Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
BaseTarget Interface Reference
Inheritance diagram for BaseTarget:
[legend]

Public Member Functions

proto external IEntity GetTargetEntity ()
 Returns target entity.
 
proto external ETargetCategory GetTargetCategory ()
 
proto external float GetTimeSinceDetected ()
 
proto external float GetTimeSinceSeen ()
 
proto external float GetTimeLastSeen ()
 
proto external float GetTimeLastDetected ()
 
proto external float GetTimeSinceTypeRecognized ()
 
proto external float GetTimeSinceSideRecognized ()
 
proto external float GetTimeSinceEndangered ()
 
proto external vector GetLastSeenPosition ()
 
proto external vector GetLastDetectedPosition ()
 
proto external float GetDistance ()
 
proto external EAIUnitType GetUnitType ()
 
proto external bool IsEndangering ()
 
proto external bool IsDisarmed ()
 
proto external float GetTraceFraction ()
 Returns value from 0 to 1.0 representing where is obstruction which blocks our visibility of the target.
 
proto external float GetExposure ()
 
proto external PerceivableComponent GetPerceivableComponent ()
 
proto external DamageManagerComponent GetDamageManagerComponent ()
 
proto external BaseWeaponManagerComponent GetWeaponManagerComponent ()
 
proto external FactionAffiliationComponent GetFactionAffiliationComponent ()
 
proto void GetAccumulatedRecognition (out float outRecognitionDetect, out float outRecognitionIdentify)
 
proto external void UpdateLastSeenPosition (vector pos, float perceptionMgrTimestamp)
 

Member Function Documentation

◆ GetAccumulatedRecognition()

proto void BaseTarget.GetAccumulatedRecognition ( out float  outRecognitionDetect,
out float  outRecognitionIdentify 
)

◆ GetDamageManagerComponent()

proto external DamageManagerComponent BaseTarget.GetDamageManagerComponent ( )

◆ GetDistance()

proto external float BaseTarget.GetDistance ( )

◆ GetExposure()

proto external float BaseTarget.GetExposure ( )

◆ GetFactionAffiliationComponent()

proto external FactionAffiliationComponent BaseTarget.GetFactionAffiliationComponent ( )

◆ GetLastDetectedPosition()

proto external vector BaseTarget.GetLastDetectedPosition ( )

◆ GetLastSeenPosition()

proto external vector BaseTarget.GetLastSeenPosition ( )

◆ GetPerceivableComponent()

proto external PerceivableComponent BaseTarget.GetPerceivableComponent ( )

◆ GetTargetCategory()

proto external ETargetCategory BaseTarget.GetTargetCategory ( )

◆ GetTargetEntity()

proto external IEntity BaseTarget.GetTargetEntity ( )

Returns target entity.

◆ GetTimeLastDetected()

proto external float BaseTarget.GetTimeLastDetected ( )

◆ GetTimeLastSeen()

proto external float BaseTarget.GetTimeLastSeen ( )

◆ GetTimeSinceDetected()

proto external float BaseTarget.GetTimeSinceDetected ( )

◆ GetTimeSinceEndangered()

proto external float BaseTarget.GetTimeSinceEndangered ( )

◆ GetTimeSinceSeen()

proto external float BaseTarget.GetTimeSinceSeen ( )

◆ GetTimeSinceSideRecognized()

proto external float BaseTarget.GetTimeSinceSideRecognized ( )

◆ GetTimeSinceTypeRecognized()

proto external float BaseTarget.GetTimeSinceTypeRecognized ( )

◆ GetTraceFraction()

proto external float BaseTarget.GetTraceFraction ( )

Returns value from 0 to 1.0 representing where is obstruction which blocks our visibility of the target.

1.0 - We could fully trace to target AND exposure is above zero 0.0 < ... < 1.0 - Target has no visible aimpoints, trace is interrupted by obstacle 0.0 - Target is not in view cone OR is out of perception range

◆ GetUnitType()

proto external EAIUnitType BaseTarget.GetUnitType ( )

◆ GetWeaponManagerComponent()

proto external BaseWeaponManagerComponent BaseTarget.GetWeaponManagerComponent ( )

◆ IsDisarmed()

proto external bool BaseTarget.IsDisarmed ( )

◆ IsEndangering()

proto external bool BaseTarget.IsEndangering ( )

◆ UpdateLastSeenPosition()

proto external void BaseTarget.UpdateLastSeenPosition ( vector  pos,
float  perceptionMgrTimestamp 
)

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