diff options
* Extended Script API with GetRandomAvatar
* The script will now get a IScriptEntity to it's host object with get/sets
* The script gets a IScriptReadnlyEntity interface to entities other than the host object.
* the test script now follows a random avatar.
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/world/scripting/IScriptContext.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim.RegionServer/world/scripting/IScriptContext.cs b/OpenSim.RegionServer/world/scripting/IScriptContext.cs index 80878ef..465c23b 100644 --- a/OpenSim.RegionServer/world/scripting/IScriptContext.cs +++ b/OpenSim.RegionServer/world/scripting/IScriptContext.cs | |||
@@ -7,7 +7,7 @@ namespace OpenSim.RegionServer.world.scripting | |||
7 | { | 7 | { |
8 | public interface IScriptContext | 8 | public interface IScriptContext |
9 | { | 9 | { |
10 | bool MoveTo(LLVector3 newPos); | 10 | IScriptEntity Entity { get; } |
11 | LLVector3 GetPos(); | 11 | bool TryGetRandomAvatar(out IScriptReadonlyEntity avatar); |
12 | } | 12 | } |
13 | } | 13 | } |