IAIGroupTactic

C++
struct IAIGroupTactic {
};
File

IAIGroup.h

IAIGroupTactic::~IAIGroupTactic Destructor
C++
virtual ~IAIGroupTactic();
IAIGroupTactic::DebugDraw Method
C++
virtual void DebugDraw() = 0;
Description

Draw debug information about the group tactic. See console var ai_DrawGroupTactic.

IAIGroupTactic::GetMemoryUsage Method
C++
void GetMemoryUsage(ICrySizer * pSizer) const;
IAIGroupTactic::GetPoint Method
C++
virtual Vec3 GetPoint(IAIObject* pRequester, int type, float param) = 0;
Description

Returns queried point related to the tactic, see EGroupStateType.

IAIGroupTactic::GetState Method
C++
virtual int GetState(IAIObject* pRequester, int type, float param) = 0;
Description

Returns queried state related to the tactic, see EGroupStateType.

IAIGroupTactic::NotifyState Method
C++
virtual void NotifyState(IAIObject* pRequester, int type, float param) = 0;
Description

Notify or report tactic, see EGroupNotifyType.

IAIGroupTactic::OnMemberAdded Method
C++
virtual void OnMemberAdded(IAIObject* pMember) = 0;
Description

Called when new member is added to group.

IAIGroupTactic::OnMemberRemoved Method
C++
virtual void OnMemberRemoved(IAIObject* pMember) = 0;
Description

Called when new member is removed from the group.

IAIGroupTactic::OnUnitAttentionTargetChanged Method
C++
virtual void OnUnitAttentionTargetChanged() = 0;
Description

Callback called when an attention target of a unit belonging to the group is changed.

IAIGroupTactic::Reset Method
C++
virtual void Reset() = 0;
Description

Called on AIsystem reset, should reset the state of the tactic.

IAIGroupTactic::Serialize Method
C++
virtual void Serialize(TSerialize ser) = 0;
Description

Serialize the state of the tactic.

IAIGroupTactic::Update Method
C++
virtual void Update(float dt) = 0;
Description

Updates the group tactic.