mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
give osTeleportObject proper OSFunctionThreatLevel setting on osslEnable.ini
This commit is contained in:
@@ -4644,13 +4644,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
/// </remarks>
|
||||
public void osTeleportObject(LSL_Key objectUUID, LSL_Vector targetPos, LSL_Rotation rotation, LSL_Integer flags)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.Severe, "osTeleportAgent");
|
||||
CheckThreatLevel(ThreatLevel.Severe, "osTeleportObject");
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
UUID objUUID;
|
||||
if (!UUID.TryParse(objectUUID, out objUUID))
|
||||
{
|
||||
OSSLShoutError("osObjectTeleport() invalid object Key");
|
||||
OSSLShoutError("osTeleportObject() invalid object Key");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -236,4 +236,5 @@
|
||||
Allow_osKickAvatar = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
|
||||
Allow_osRevokeScriptPermissions = false
|
||||
Allow_osTeleportAgent = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
|
||||
Allow_osObjectTeleport = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user