diff options
author | Adam Frisby | 2009-04-03 10:42:39 +0000 |
---|---|---|
committer | Adam Frisby | 2009-04-03 10:42:39 +0000 |
commit | 084ffc74c659c0c6ba86167590b0d146408aa56b (patch) | |
tree | ddf6d1ee81a589517d7d064509263cc5044b7501 /OpenSim | |
parent | * Implements Scene.SimChat(string,...) rather than byte[]. We should probably... (diff) | |
download | opensim-SC_OLD-084ffc74c659c0c6ba86167590b0d146408aa56b.zip opensim-SC_OLD-084ffc74c659c0c6ba86167590b0d146408aa56b.tar.gz opensim-SC_OLD-084ffc74c659c0c6ba86167590b0d146408aa56b.tar.bz2 opensim-SC_OLD-084ffc74c659c0c6ba86167590b0d146408aa56b.tar.xz |
* Implements MRM IObject.Say - this is equivilent to llSay
Example:
public override void Start()
{
Host.Object.Say("Hello World!");
}
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs index da8fce5..21efc6d 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs | |||
@@ -103,6 +103,14 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
103 | // RadiusOffset, Skew | 103 | // RadiusOffset, Skew |
104 | 104 | ||
105 | PhysicsMaterial PhysicsMaterial { get; set; } | 105 | PhysicsMaterial PhysicsMaterial { get; set; } |
106 | |||
107 | /// <summary> | ||
108 | /// Causes the object to speak to its surroundings, | ||
109 | /// equivilent to LSL/OSSL llSay | ||
110 | /// </summary> | ||
111 | /// <param name="msg">The message to send to the user</param> | ||
112 | void Say(string msg); | ||
113 | |||
106 | } | 114 | } |
107 | 115 | ||
108 | public enum PhysicsMaterial | 116 | public enum PhysicsMaterial |