|
Moprall Skall
Registered User
Join date: 10 Jan 2007
Posts: 2
|
06-20-2007 08:25
Hiho all.
I've the minimum knowlegde in scripting and I've tryed to make a sliding door on this map:
state open --->touched: move on axys X value +1 and change state State close --->touched: move on axys X value -1 and change state
But I haven't found a function "move". I've asked to others better scripters, they've said to me there's no "simple moving command line" and someone has gave me a incredible complex script of slinding door.
There is a really simple function for rotation, why not for movement? How to do my slinding door please?
|
|
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
|
06-20-2007 11:30
Here is the basic MOVE script:- llSetPos(llGetPos()+<1.2,0,0>  ; Each time you touch it with this script it will move 1.2 meters in the X direction. By changing the vector <1.2,0,0> you can move it in other, or combined directions and set the distance. You can also use negative numbers to move it back.
|
|
Moprall Skall
Registered User
Join date: 10 Jan 2007
Posts: 2
|
06-20-2007 13:16
wOho  thanks a lot.
|