From 5ad6d5a939fb7bf0fdfdc6925d4afed306e08641 Mon Sep 17 00:00:00 2001 From: MW Date: Wed, 11 Apr 2007 12:13:21 +0000 Subject: 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. --- bin/OpenSimAPI.java | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 bin/OpenSimAPI.java (limited to 'bin') diff --git a/bin/OpenSimAPI.java b/bin/OpenSimAPI.java new file mode 100644 index 0000000..472b947 --- /dev/null +++ b/bin/OpenSimAPI.java @@ -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) + { + + } + + +} \ No newline at end of file -- cgit v1.1