mirror of
https://github.com/opensim/opensim.git
synced 2026-06-06 02:55:47 +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.
36 lines
505 B
Java
36 lines
505 B
Java
|
|
|
|
public class OpenSimAPI {
|
|
|
|
public static int GetEntityID()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public static int GetRandomAvatarID()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public static float GetEntityPositionX(int id)
|
|
{
|
|
return 0.0f;
|
|
}
|
|
|
|
public static float GetEntityPositionY(int id)
|
|
{
|
|
return 0.0f;
|
|
}
|
|
|
|
public static float GetEntityPositionZ(int id)
|
|
{
|
|
return 0.0f;
|
|
}
|
|
|
|
public static void SetEntityPosition(int id, float x, float y, float z)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
} |