aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime
diff options
context:
space:
mode:
authorTalun2012-04-24 21:54:13 +0100
committerBlueWall2012-04-26 16:13:29 -0400
commitb8114d2b67c8ae8d7551a2ece2177f8b7e958112 (patch)
tree0b453a72beae6e4a1f9ee86f00df3ec77d12d178 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime
parentMantis 5977 Corrections to llRegionSayTo (diff)
downloadopensim-SC_OLD-b8114d2b67c8ae8d7551a2ece2177f8b7e958112.zip
opensim-SC_OLD-b8114d2b67c8ae8d7551a2ece2177f8b7e958112.tar.gz
opensim-SC_OLD-b8114d2b67c8ae8d7551a2ece2177f8b7e958112.tar.bz2
opensim-SC_OLD-b8114d2b67c8ae8d7551a2ece2177f8b7e958112.tar.xz
Add a version of osNpcSay that takes a channel number Mantis 5747
osNpcSay(UUID npc, string message) left untouched New functions:- osNpcSay(UUID npc, int channel, string message) osNpcShout(UUID npc, int channel, string message) osNpcWhisper(UUID npc, int channel, string message) Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
index b94b9bf..e836959 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -569,6 +569,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
569 m_OSSL_Functions.osNpcSay(npc, message); 569 m_OSSL_Functions.osNpcSay(npc, message);
570 } 570 }
571 571
572 public void osNpcSay(key npc, int channel, string message)
573 {
574 m_OSSL_Functions.osNpcSay(npc, channel, message);
575 }
576
577
578 public void osNpcShout(key npc, int channel, string message)
579 {
580 m_OSSL_Functions.osNpcShout(npc, channel, message);
581 }
582
572 public void osNpcSit(LSL_Key npc, LSL_Key target, int options) 583 public void osNpcSit(LSL_Key npc, LSL_Key target, int options)
573 { 584 {
574 m_OSSL_Functions.osNpcSit(npc, target, options); 585 m_OSSL_Functions.osNpcSit(npc, target, options);
@@ -594,6 +605,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
594 m_OSSL_Functions.osNpcStopAnimation(npc, animation); 605 m_OSSL_Functions.osNpcStopAnimation(npc, animation);
595 } 606 }
596 607
608 public void osNpcWhisper(key npc, int channel, string message)
609 {
610 m_OSSL_Functions.osNpcWhisper(npc, channel, message);
611 }
612
597 public LSL_Key osOwnerSaveAppearance(string notecard) 613 public LSL_Key osOwnerSaveAppearance(string notecard)
598 { 614 {
599 return m_OSSL_Functions.osOwnerSaveAppearance(notecard); 615 return m_OSSL_Functions.osOwnerSaveAppearance(notecard);