* 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.
This commit is contained in:
lbsa71
2007-04-03 19:12:07 +00:00
parent 6d8dcd1d1d
commit 7169acc47e
12 changed files with 276 additions and 155 deletions

View File

@@ -7,7 +7,7 @@ namespace OpenSim.RegionServer.world.scripting
{
public interface IScriptContext
{
bool MoveTo(LLVector3 newPos);
LLVector3 GetPos();
IScriptEntity Entity { get; }
bool TryGetRandomAvatar(out IScriptReadonlyEntity avatar);
}
}