forked from teamnwah/openmw-tes3coop
get all actors following a given actor
This commit is contained in:
parent
dd870e35db
commit
1ae62665d6
2 changed files with 7 additions and 0 deletions
|
@ -122,3 +122,8 @@ bool MWMechanics::AiFollow::execute (const MWWorld::Ptr& actor,float duration)
|
||||||
{
|
{
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string MWMechanics::AiFollow::getFollowedActor()
|
||||||
|
{
|
||||||
|
return mActorId;
|
||||||
|
}
|
||||||
|
|
|
@ -19,6 +19,8 @@ namespace MWMechanics
|
||||||
///< \return Package completed?
|
///< \return Package completed?
|
||||||
virtual int getTypeId() const;
|
virtual int getTypeId() const;
|
||||||
|
|
||||||
|
std::string getFollowedActor();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
float mDuration;
|
float mDuration;
|
||||||
float mX;
|
float mX;
|
||||||
|
|
Loading…
Reference in a new issue