mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 20:56:39 +00:00 
			
		
		
		
	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; | ||||
| } | ||||
| 
 | ||||
| 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…
	
		Reference in a new issue