mirror of
https://github.com/opensim/opensim.git
synced 2026-06-04 18:06:06 +08:00
For it to work you need to have a java sdk installed and the javac.exe somewhere in the environment Path variable. Then To test, copy the text from bin/script1.text into a note card and then add that note to a prim.
14 lines
326 B
C#
14 lines
326 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace OpenSim.Framework.Interfaces
|
|
{
|
|
public interface IScriptAPI
|
|
{
|
|
OSVector3 GetEntityPosition(uint localID);
|
|
void SetEntityPosition(uint localID, float x, float y, float z);
|
|
uint GetRandomAvatarID();
|
|
}
|
|
}
|