Mantis#2197. Thank you kindly, Tyre, for a patch that:

adds the new function osTeleportAgent().
This commit is contained in:
Charles Krinke
2008-09-15 14:32:02 +00:00
parent ab30c6dc62
commit 5164fa2411
8 changed files with 114 additions and 4 deletions

View File

@@ -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)