mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* 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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user