Files
opensim/bin/OpenSimAPI.java
MW 5ad6d5a939 First basic test script now works in the jvm scripting engine.
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.
2007-04-11 12:13:21 +00:00

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)
{
}
}