diff options
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.
Diffstat (limited to 'bin/OpenSimAPI.java')
-rw-r--r-- | bin/OpenSimAPI.java | 36 |
1 files changed, 36 insertions, 0 deletions
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 @@ | |||
1 | |||
2 | |||
3 | public class OpenSimAPI { | ||
4 | |||
5 | public static int GetEntityID() | ||
6 | { | ||
7 | return 0; | ||
8 | } | ||
9 | |||
10 | public static int GetRandomAvatarID() | ||
11 | { | ||
12 | return 0; | ||
13 | } | ||
14 | |||
15 | public static float GetEntityPositionX(int id) | ||
16 | { | ||
17 | return 0.0f; | ||
18 | } | ||
19 | |||
20 | public static float GetEntityPositionY(int id) | ||
21 | { | ||
22 | return 0.0f; | ||
23 | } | ||
24 | |||
25 | public static float GetEntityPositionZ(int id) | ||
26 | { | ||
27 | return 0.0f; | ||
28 | } | ||
29 | |||
30 | public static void SetEntityPosition(int id, float x, float y, float z) | ||
31 | { | ||
32 | |||
33 | } | ||
34 | |||
35 | |||
36 | } \ No newline at end of file | ||