mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
get all actors following a given actor
This commit is contained in:
parent
dd870e35db
commit
1ae62665d6
@ -122,3 +122,8 @@ bool MWMechanics::AiFollow::execute (const MWWorld::Ptr& actor,float duration)
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
|
||||
std::string MWMechanics::AiFollow::getFollowedActor()
|
||||
{
|
||||
return mActorId;
|
||||
}
|
||||
|
@ -19,6 +19,8 @@ namespace MWMechanics
|
||||
///< \return Package completed?
|
||||
virtual int getTypeId() const;
|
||||
|
||||
std::string getFollowedActor();
|
||||
|
||||
private:
|
||||
float mDuration;
|
||||
float mX;
|
||||
|
Loading…
x
Reference in New Issue
Block a user