default {
state_entry() {
llSay(0, "Bouncing Stone online...");
llSetSitText("Ride");
llSitTarget(<0.1,0.1,0.1>, ZERO_ROTATION);
llSetStatus(STATUS_PHYSICS, FALSE);
//llSetTimerEvent(6.0);
}
changed(integer change) {
if (change & CHANGED_LINK) {
key agent = llAvatarOnSitTarget();
if (agent) {
if (agent != llGetOwner()) {
} else {
llSay(0, "Launch! Yeehaw!");
llSetStatus(STATUS_PHYSICS, TRUE);
llSetTimerEvent(6.0);
}
} else {
llSetTimerEvent(0.0);
llSetStatus(STATUS_PHYSICS, FALSE);
llSay(0, "Stopped.");
}
}
}
land_collision(vector pos) {
llApplyImpulse(0><0,0,700>, FALSE);
llSetTimerEvent(6.0);
}
timer() {
llApplyImpulse(0><0,0,700>, FALSE);
llApplyRotationalImpulse(, FALSE);
}
}0>