|
Dragger Lok
(loading ...)
Join date: 10 Sep 2006
Posts: 228
|
07-31-2008 13:54
Found a cute little script for a move lock hud ... except it is like standing on a washing machine. Any way to settle it down? dampen it? maybe pockets full of rocks .... integer lock=0;
doLock(integer on) { lock=on; if(on) { vector pos=llGetPos(); llMoveToTarget(pos,0.1); llSetColor(<1,0,0>,ALL_SIDES); llSetTimerEvent(0.2); } else { llStopMoveToTarget(); llSetColor(<0,1,0>,ALL_SIDES); llSetTimerEvent(0); } }
default { on_rez(integer num) { doLock(FALSE); } state_entry() { doLock(FALSE); }
touch_start(integer num) { doLock(!lock); }
timer() { integer info=llGetAgentInfo(llGetOwner()); if(info & AGENT_IN_AIR) { if(!(info & AGENT_FLYING)) { doLock(FALSE); llSleep(1); doLock(TRUE); } } } }
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
07-31-2008 14:37
Movelocks that do not turn off while you have a movement control pressed are probably not going to be easy to live with.
|
|
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
|
07-31-2008 15:05
You might be interested to check this thread: 
|
|
Dragger Lok
(loading ...)
Join date: 10 Sep 2006
Posts: 228
|
07-31-2008 19:26
Excellent ty-
|