1 #ifndef GAME_MWMECHANICS_AIPURSUE_H
2 #define GAME_MWMECHANICS_AIPURSUE_H
6 #include "../mwbase/world.hpp"
virtual void writeState(ESM::AiSequence::AiSequence &sequence) const
Definition: aipursue.cpp:74
Base class for AI packages.
Definition: aipackage.hpp:32
Makes the actor very closely follow the actor.
Definition: aipursue.hpp:24
virtual bool canCancel() const
Can this Ai package be canceled? (default true)
Definition: aipursue.hpp:41
Definition: character.hpp:145
virtual AiPursue * clone() const
Clones the package.
Definition: aipursue.cpp:27
AiPursue(const MWWorld::Ptr &actor)
Constructor.
Definition: aipursue.cpp:17
Definition: aisequence.hpp:148
Definition: aisequence.hpp:133
virtual bool execute(const MWWorld::Ptr &actor, CharacterController &characterController, AiState &state, float duration)
Definition: aipursue.cpp:31
virtual int getTypeId() const
Definition: aipursue.cpp:64
virtual bool shouldCancelPreviousAi() const
Upon adding this Ai package, should the Ai Sequence attempt to cancel previous Ai packages (default t...
Definition: aipursue.hpp:42
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
int mTargetActorId
Definition: aipursue.hpp:46
MWWorld::Ptr getTarget() const
Get the target actor the AI is targeted at (not applicable to all AI packages, default return empty P...
Definition: aipursue.cpp:69