mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Mantis#2197. Thank you kindly, Tyre, for a patch that:
adds the new function osTeleportAgent().
This commit is contained in:
@@ -37,7 +37,7 @@ using rotation = OpenSim.Region.ScriptEngine.Common.LSL_Types.Quaternion;
|
||||
|
||||
namespace OpenSim.Region.ScriptEngine.Common
|
||||
{
|
||||
public class BuiltIn_Commands_BaseClass : MarshalByRefObject, LSL_BuiltIn_Commands_Interface, IScript
|
||||
public class BuiltIn_Commands_BaseClass : MarshalByRefObject, LSL_BuiltIn_Commands_Interface, OSSL_BuilIn_Commands_Interface, IScript
|
||||
{
|
||||
//
|
||||
// Included as base for any LSL-script that is compiled.
|
||||
@@ -1942,6 +1942,18 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
m_LSL_Functions.osSetPrimFloatOnWater(floatYN);
|
||||
}
|
||||
|
||||
// Teleport Functions
|
||||
|
||||
public void osTeleportAgent(string agent, string regionName, vector position, vector lookat)
|
||||
{
|
||||
m_LSL_Functions.osTeleportAgent(agent, regionName, position, lookat);
|
||||
}
|
||||
|
||||
public void osTeleportAgent(string agent, vector position, vector lookat)
|
||||
{
|
||||
m_LSL_Functions.osTeleportAgent(agent, position, lookat);
|
||||
}
|
||||
|
||||
// Animation Functions
|
||||
|
||||
public void osAvatarPlayAnimation(string avatar, string animation)
|
||||
|
||||
Reference in New Issue
Block a user