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.
This commit is contained in:
MW
2007-04-11 12:13:21 +00:00
parent ffd7a6b8c2
commit 5ad6d5a939
11 changed files with 219 additions and 59 deletions

36
bin/OpenSimAPI.java Normal file
View File

@@ -0,0 +1,36 @@
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)
{
}
}