diff options
Another small tweak to image sending.
Implemented a few ll Functions, llSetObjectName llGetObjectName, llLoadURL (all currently untested).
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs index 0256f29..92024b6 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | |||
@@ -458,8 +458,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
458 | public List<string> llListInsertList(List<string> dest, List<string> src, int start) | 458 | public List<string> llListInsertList(List<string> dest, List<string> src, int start) |
459 | { return new List<string>(); } | 459 | { return new List<string>(); } |
460 | public int llListFindList(List<string> src, List<string> test) { return 0; } | 460 | public int llListFindList(List<string> src, List<string> test) { return 0; } |
461 | public string llGetObjectName() { return ""; } | 461 | public string llGetObjectName() { return m_host.Name; } |
462 | public void llSetObjectName(string name) { } | 462 | public void llSetObjectName(string name) { m_host.Name = name; } |
463 | 463 | ||
464 | public string llGetDate() | 464 | public string llGetDate() |
465 | { | 465 | { |
@@ -584,7 +584,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
584 | public void llForceMouselook(int mouselook) { } | 584 | public void llForceMouselook(int mouselook) { } |
585 | public double llGetObjectMass(string id) { return 0; } | 585 | public double llGetObjectMass(string id) { return 0; } |
586 | public void llListReplaceList() { } | 586 | public void llListReplaceList() { } |
587 | public void llLoadURL(string avatar_id, string message, string url) { } | 587 | public void llLoadURL(string avatar_id, string message, string url) |
588 | { | ||
589 | LLUUID avatarId = new LLUUID(avatar_id); | ||
590 | m_ScriptEngine.World.SendUrlToUser(avatarId, m_host.Name, m_host.UUID, LLUUID.Zero, false, message, url); | ||
591 | } | ||
588 | public void llParcelMediaCommandList(List<string> commandList) { } | 592 | public void llParcelMediaCommandList(List<string> commandList) { } |
589 | public void llParcelMediaQuery() { } | 593 | public void llParcelMediaQuery() { } |
590 | 594 | ||