mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Reinstate option to land an npc when it reaches a target.
This is moved into ScenePresence for now as a general facility
This commit is contained in:
@@ -231,7 +231,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
public event ScriptReset OnScriptReset;
|
||||
public event GetScriptRunning OnGetScriptRunning;
|
||||
public event SetScriptRunning OnSetScriptRunning;
|
||||
public event Action<Vector3, bool> OnAutoPilotGo;
|
||||
public event Action<Vector3, bool, bool> OnAutoPilotGo;
|
||||
public event TerrainUnacked OnUnackedTerrain;
|
||||
public event ActivateGesture OnActivateGesture;
|
||||
public event DeactivateGesture OnDeactivateGesture;
|
||||
@@ -11640,9 +11640,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
locy = Convert.ToSingle(args[1]) - (float)regionY;
|
||||
locz = Convert.ToSingle(args[2]);
|
||||
|
||||
Action<Vector3, bool> handlerAutoPilotGo = OnAutoPilotGo;
|
||||
Action<Vector3, bool, bool> handlerAutoPilotGo = OnAutoPilotGo;
|
||||
if (handlerAutoPilotGo != null)
|
||||
handlerAutoPilotGo(new Vector3(locx, locy, locz), false);
|
||||
handlerAutoPilotGo(new Vector3(locx, locy, locz), false, false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user