11 enum EAITargetInfoFlags
15 class SCR_AITargetInfo
27 void Init(IEntity entity =
null,
28 vector worldPos = vector.Zero,
29 float timestamp = 0.0,
40 FactionAffiliationComponent fcomp;
42 SCR_ChimeraCharacter character = SCR_ChimeraCharacter.Cast(entity);
44 fcomp = character.m_pFactionComponent;
47 Vehicle veh = Vehicle.Cast(entity);
49 fcomp = veh.m_pFactionComponent;
51 fcomp = FactionAffiliationComponent.Cast(entity.FindComponent(FactionAffiliationComponent));
59 m_Perceivable = PerceivableComponent.Cast(entity.FindComponent(PerceivableComponent));
66 IEntity entity = tgt.GetTargetEntity();
72 pos = tgt.GetLastSeenPosition();
73 timestamp = tgt.GetTimeLastSeen();
78 pos = tgt.GetLastDetectedPosition();
79 timestamp = tgt.GetTimeLastDetected();
109 m_vWorldPos = baseTarget.GetLastDetectedPosition();