Hello everybody (anew :p )
I have coded a another script for server (and you can be run in solo ? to tested ... )
This script given and interpret script, in games, to object. Oo it's complicated all this XD
In this script you have 2 actions:
-"Action" for start the script of a object. The first click executes the script and the second click return the object at the original state.
-"Select Object" for select the object whom you want to add a script (so you must select the object every time before using the commands).
One object can contain divers script which will be executed in the order of their addition.
Commands:-"~defaction" for define the first action (or the only action)
-"~addaction" for add other action
Action list:-"up" for go up the object at z coordinate ; Ex: "~defaction up 2" || "~addaction up 2"
-"down" for go down the object at z coordinate ; Ex: "~defaction down 5" || "~addaction down 5"
-"movex" for move the object at x coordinate ; Ex: "~defaction movex 5" || "~addaction movex 5"
-"movey" for move the object at x coordinate ; Ex: "~defaction movey 5" || "~addaction movey 5"
-"rotate" for rotate the object of x degree ; Ex: "~defaction rotate 90" || "~addaction rotate 90"
-"text:" for adding text on the click "action"; Ex: "~defaction text: hello everybody" || "~addaction text: hello everybody"
Example of use:For this i have typing:
"~defaction up 2"
Here i have typing:
"~defaction movex -0.5"
"~addaction movey 0.5"
"~addaction rotate 90"
And here:
"~defaction up 1"
"~addaction movex 1"
So the download link is here
http://www.mythruna-france.tk/download/Scripted-Object.init.groovy.phpGood-Game :p