diff options
* Now sending manager, host and root host to Script in constructor.
* Changed how Script accesses World
* Implemented llSay, llWhisper and llShout
* Added SetText() to IScriptHost, implemented llText
* Minor renamings to conform with code conventions
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scripting')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs b/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs index 1c14264..5d5f698 100644 --- a/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs +++ b/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs | |||
@@ -10,5 +10,6 @@ namespace OpenSim.Region.Environment.Scenes.Scripting | |||
10 | string Name { get; } | 10 | string Name { get; } |
11 | LLUUID UUID { get; } | 11 | LLUUID UUID { get; } |
12 | LLVector3 AbsolutePosition { get; } | 12 | LLVector3 AbsolutePosition { get; } |
13 | void SetText(string text, Axiom.Math.Vector3 color, double alpha); | ||
13 | } | 14 | } |
14 | } | 15 | } |
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs b/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs index a55c87e..03587de 100644 --- a/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs +++ b/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs | |||
@@ -22,5 +22,10 @@ namespace OpenSim.Region.Environment.Scenes.Scripting | |||
22 | { | 22 | { |
23 | get { return m_pos; } | 23 | get { return m_pos; } |
24 | } | 24 | } |
25 | |||
26 | public void SetText(string text, Axiom.Math.Vector3 color, double alpha) | ||
27 | { | ||
28 | Console.WriteLine("Tried to SetText [{0}] on NullScriptHost", text); | ||
29 | } | ||
25 | } | 30 | } |
26 | } | 31 | } |