Angelic Destiny
-
Posts
6 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Posts posted by Angelic Destiny
-
-
Update okay I finally got two things to work but the Rename the timer event as touch_start (integer num) part is the one Im having problems with here is what I have so far is this right?
integer gState;
integer DOWN=0;
integer GO_UP=1;
integer UP=2;
integer GO_DOWN=3;
float MOVE_DAMPING=4.0;
float MOVE_TIME=4.0;
float DOWN_CORRECTION=1.5; // Use trial-and-error to correct for SVC-2441
// Move to 2m above starting position
vector gOffset = <0.0, 0.0, 2.0>;
vector gStartPosition;
default
{
state_entry ()
{// Use physics so that can use MoveToTarget
gStartPosition = llGetPos ();
// Stop the object rotating
llSetStatus(STATUS_ROTATE_X|STATUS_ROTATE_Y|STATUS_ROTATE_Z, FALSE);
llSetStatus(STATUS_PHYSICS, TRUE);
llMoveToTarget (gStartPosition, MOVE_DAMPING);
llSetTimerEvent (touch_start (integer num)
}
on_rez(integer n)
{
llResetScript();
}
timer ()
{
if (gState == DOWN)
{
gState = GO_UP;
llMoveToTarget(gStartPosition + gOffset, MOVE_DAMPING);
gState = UP;
}
else if (gState == UP)
{
gState = GO_DOWN;
// Need to compensate (a bit) for SVC-2441
}
}
} -
Hiya thank you so much for responding but would it be possible to give me an example from the script I posted for some reason I removed the last two lines and tried to replace the timer event but Im sure Im doing something wrong or placing it in the wrong place....yikes!! Sorry to be a pain Im not a really good scripter lol ut any help will be appreciated thank you again ahead of time
-
Hello everyone...Ive been going nuts trying to figure this out...I have a great script and works well with my builds ( I do alot of puppeteering) the only thing is That I cant figure out how to make it a on touch script... Ive purchased other but they wont work with the puppeteering scripts... Could someone please help Thank you so much in advance
integer gState;
integer DOWN=0;
integer GO_UP=1;
integer UP=2;
integer GO_DOWN=3;
float MOVE_DAMPING=4.0;
float MOVE_TIME=4.0;
float DOWN_CORRECTION=1.5; // Use trial-and-error to correct for SVC-2441
// Move to 2m above starting position
vector gOffset = <0.0, 0.0, 2.0>;
vector gStartPosition;
default
{
touch_start(integer total_number) {// Use physics so that can use MoveToTarget
gStartPosition = llGetPos ();
// Stop the object rotating
llSetStatus(STATUS_ROTATE_X|STATUS_ROTATE_Y|STATUS_ROTATE_Z, FALSE);
llSetStatus(STATUS_PHYSICS, TRUE);
llMoveToTarget (gStartPosition, MOVE_DAMPING);
llSetTimerEvent (MOVE_TIME);
}
on_rez(integer n)
{
llResetScript();
}
timer ()
{
if (gState == DOWN)
{
gState = GO_UP;
llMoveToTarget(gStartPosition + gOffset, MOVE_DAMPING);
gState = UP;
}
else if (gState == UP)
{
gState = GO_DOWN;
// Need to compensate (a bit) for SVC-2441
llMoveToTarget(gStartPosition, MOVE_DAMPING*DOWN_CORRECTION);
gState = DOWN;
}
}
} -
Can someone please help Im am so confused okay I have done everything it has asked to upload my files into merchant outbox...I have over 1000 items...It says it has transferred to slx exchange but its not there....;( Also after uploading and sending to market should I delete items from merchant outbox in firestorm?
-
Hello how are you? After hours and hours of trying to figure this out myself I finally founf the Qavimator that I downloaded originally that allowed you to delete frames......You just go to this site http://qavimator.org/
And scroll all the way down....The one I downloaded was Download QAvimator for Windows (updated May 05, 2008)....yayaya Finally it was driving me nuts couldnt delete frames lololol Good luck hope this helps
- 1
Can someone please help re: Move up and down script
in LSL Scripting
Posted
yayya tank you so much..Happy holidays