diff options
author | Justin Clark-Casey (justincc) | 2011-08-10 22:34:42 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-10 22:34:42 +0100 |
commit | fb92678b83dca1c1f64cc91f3ac887170408a455 (patch) | |
tree | b4a0da757b8045a0c5155a35bb07b309ce3560ba /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |
parent | early code to allow scripts to force npcs not to fly when moving to target (diff) | |
download | opensim-SC-fb92678b83dca1c1f64cc91f3ac887170408a455.zip opensim-SC-fb92678b83dca1c1f64cc91f3ac887170408a455.tar.gz opensim-SC-fb92678b83dca1c1f64cc91f3ac887170408a455.tar.bz2 opensim-SC-fb92678b83dca1c1f64cc91f3ac887170408a455.tar.xz |
fly and no fly constants for osNpcMoveToTarget()
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 63c882d..9b5d8d9 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2220,7 +2220,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2220 | INPCModule module = World.RequestModuleInterface<INPCModule>(); | 2220 | INPCModule module = World.RequestModuleInterface<INPCModule>(); |
2221 | if (module != null) | 2221 | if (module != null) |
2222 | { | 2222 | { |
2223 | Vector3 pos = new Vector3((float) position.x, (float) position.y, (float) position.z); | 2223 | Vector3 pos = new Vector3((float)position.x, (float)position.y, (float)position.z); |
2224 | module.MoveToTarget(new UUID(npc.m_string), World, pos, noFly != 0); | 2224 | module.MoveToTarget(new UUID(npc.m_string), World, pos, noFly != 0); |
2225 | } | 2225 | } |
2226 | } | 2226 | } |