aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--1AOor2.lsl33
1 files changed, 20 insertions, 13 deletions
diff --git a/1AOor2.lsl b/1AOor2.lsl
index b4c78dd..e167cd6 100644
--- a/1AOor2.lsl
+++ b/1AOor2.lsl
@@ -1561,22 +1561,29 @@ checkSitters(integer del)
1561// S(llKey2Name(llList2Key(Avs, lnk + aKEY)) + " is number " + llList2String(Avs, lnk + aNUM)); 1561// S(llKey2Name(llList2Key(Avs, lnk + aKEY)) + " is number " + llList2String(Avs, lnk + aNUM));
1562 for (lnk = 0; lnk < l; lnk += aSTRIDE) 1562 for (lnk = 0; lnk < l; lnk += aSTRIDE)
1563 updateAvatar(llList2Key(Avs, lnk + aKEY)); 1563 updateAvatar(llList2Key(Avs, lnk + aKEY));
1564
1565 if ("1AOor2 prim" == llGetObjectName())
1564 { 1566 {
1565 if (del) 1567 llSetSitText(Sit0Text); llSetTouchText("menu"); llSetClickAction(CLICK_ACTION_SIT);
1568 llSetText(HoverText, <1.0, 1.0, 1.0>, 1.0);
1569 if (0 == m)
1566 { 1570 {
1567 llSleep(5.0); 1571 if (del)
1568 d("No one left sitting on me."); 1572 {
1569 if (NULL_KEY != BossKey) die(); 1573 llSleep(5.0);
1574 d("No one left sitting on me.");
1575 if (NULL_KEY != BossKey) die();
1576 }
1577 llSetTouchText("");
1578 llSetLinkPrimitiveParamsFast(Link, [PRIM_SIZE, <1.0, 1.0, 1.0>, PRIM_COLOR, <255, 199, 17>, 0.5]);
1579 }
1580 else if (1 == m)
1581 llSetLinkPrimitiveParamsFast(Link, [PRIM_SIZE, <1.0, 1.0, 1.0>, PRIM_COLOR, <255, 199, 17>, 0.25]);
1582 else if (2 == m)
1583 {
1584 llSetSitText(Sit1Text); llSetClickAction(CLICK_ACTION_TOUCH);
1585 llSetLinkPrimitiveParamsFast(Link, [PRIM_SIZE, <0.01, 0.01, 0.01>, PRIM_COLOR, <255, 199, 17>, 0.0]);
1570 } 1586 }
1571 llSetTouchText("");
1572 llSetLinkPrimitiveParamsFast(Link, [PRIM_SIZE, <1.0, 1.0, 1.0>, PRIM_COLOR, <255, 199, 17>, 0.5]);
1573 }
1574 else if (1 == m)
1575 llSetLinkPrimitiveParamsFast(Link, [PRIM_SIZE, <1.0, 1.0, 1.0>, PRIM_COLOR, <255, 199, 17>, 0.25]);
1576 else if (2 == m)
1577 {
1578 llSetSitText(Sit1Text); llSetClickAction(CLICK_ACTION_TOUCH);
1579 llSetLinkPrimitiveParamsFast(Link, [PRIM_SIZE, <0.01, 0.01, 0.01>, PRIM_COLOR, <255, 199, 17>, 0.0]);
1580 } 1587 }
1581 return; 1588 return;
1582} 1589}