diff options
author | Justin Clark-Casey (justincc) | 2011-08-10 01:47:37 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-10 01:47:37 +0100 |
commit | 5d6c9644faf6aeac38410af9cff97adfef88d7aa (patch) | |
tree | 4913309153fd8b55f7cd5cd27bd449f9eecd41f5 /OpenSim/Region/Framework/Interfaces/INPCModule.cs | |
parent | Stop trying to deregister caps or close child agents when an NPC is removed (diff) | |
download | opensim-SC-5d6c9644faf6aeac38410af9cff97adfef88d7aa.zip opensim-SC-5d6c9644faf6aeac38410af9cff97adfef88d7aa.tar.gz opensim-SC-5d6c9644faf6aeac38410af9cff97adfef88d7aa.tar.bz2 opensim-SC-5d6c9644faf6aeac38410af9cff97adfef88d7aa.tar.xz |
early code to allow scripts to force npcs not to fly when moving to target
this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path.
currently implemented in osNpcMoveToTarget(), but none of this is final.
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/INPCModule.cs')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/INPCModule.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/INPCModule.cs b/OpenSim/Region/Framework/Interfaces/INPCModule.cs index 763d2dc..06296c9 100644 --- a/OpenSim/Region/Framework/Interfaces/INPCModule.cs +++ b/OpenSim/Region/Framework/Interfaces/INPCModule.cs | |||
@@ -67,8 +67,12 @@ namespace OpenSim.Region.Framework.Interfaces | |||
67 | /// <param name="agentID">The UUID of the NPC</param> | 67 | /// <param name="agentID">The UUID of the NPC</param> |
68 | /// <param name="scene"></param> | 68 | /// <param name="scene"></param> |
69 | /// <param name="pos"></param> | 69 | /// <param name="pos"></param> |
70 | /// <param name="noFly"> | ||
71 | /// If true, then the avatar will attempt to walk to the location even if it's up in the air. | ||
72 | /// This is to allow walking on prims. | ||
73 | /// </param> | ||
70 | /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns> | 74 | /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns> |
71 | bool MoveToTarget(UUID agentID, Scene scene, Vector3 pos); | 75 | bool MoveToTarget(UUID agentID, Scene scene, Vector3 pos, bool noFly); |
72 | 76 | ||
73 | /// <summary> | 77 | /// <summary> |
74 | /// Stop the NPC's current movement. | 78 | /// Stop the NPC's current movement. |