diff options
author | dahlia | 2012-05-06 23:54:50 -0700 |
---|---|---|
committer | dahlia | 2012-05-06 23:54:50 -0700 |
commit | b697d0e895dc7670e160188501da88a780455500 (patch) | |
tree | 339f65c98f7bab3c32c567fae4da37a9ad613674 /OpenSim/Region/Framework | |
parent | Stop llSetPos from sending one update per child prim (diff) | |
download | opensim-SC_OLD-b697d0e895dc7670e160188501da88a780455500.zip opensim-SC_OLD-b697d0e895dc7670e160188501da88a780455500.tar.gz opensim-SC_OLD-b697d0e895dc7670e160188501da88a780455500.tar.bz2 opensim-SC_OLD-b697d0e895dc7670e160188501da88a780455500.tar.xz |
add OS_NPC_RUNNING option to osNpcMoveToTarget() to allow running speed for moving NPCs
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/INPCModule.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/INPCModule.cs b/OpenSim/Region/Framework/Interfaces/INPCModule.cs index b4dc3c3..e071ea3 100644 --- a/OpenSim/Region/Framework/Interfaces/INPCModule.cs +++ b/OpenSim/Region/Framework/Interfaces/INPCModule.cs | |||
@@ -113,9 +113,11 @@ namespace OpenSim.Region.Framework.Interfaces | |||
113 | /// </param> | 113 | /// </param> |
114 | /// <param name="landAtTarget"> | 114 | /// <param name="landAtTarget"> |
115 | /// If true and the avatar is flying when it reaches the target, land. | 115 | /// If true and the avatar is flying when it reaches the target, land. |
116 | /// </param> | 116 | /// </param> name="running"> |
117 | /// If true, NPC moves with running speed. | ||
117 | /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns> | 118 | /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns> |
118 | bool MoveToTarget(UUID agentID, Scene scene, Vector3 pos, bool noFly, bool landAtTarget); | 119 | /// |
120 | bool MoveToTarget(UUID agentID, Scene scene, Vector3 pos, bool noFly, bool landAtTarget, bool running = false); | ||
119 | 121 | ||
120 | /// <summary> | 122 | /// <summary> |
121 | /// Stop the NPC's current movement. | 123 | /// Stop the NPC's current movement. |