diff options
Diffstat (limited to '')
-rw-r--r-- | 1AOor2.lsl | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -341,9 +341,10 @@ integer doThing(key id, string button, string fr, string cmd, string data, integ | |||
341 | else if ("SMILE" == cmd) | 341 | else if ("SMILE" == cmd) |
342 | { // The built in express_* animations are too short, but live with it. | 342 | { // The built in express_* animations are too short, but live with it. |
343 | animEnd(llGetOwner(), Smile); | 343 | animEnd(llGetOwner(), Smile); |
344 | Smile = llList2String(Smiles, (integer) llFrand(2.5)); | 344 | Smile = llList2String(Smiles, (integer) llFrand((float) llGetListLength(Smiles))); |
345 | addEvent(3.0 + llFrand(5.0), cmd); | 345 | addEvent(3.0 + llFrand(2.0), cmd); |
346 | animBegin(llGetOwner(), Smile); | 346 | animBegin(llGetOwner(), Smile); |
347 | } | ||
347 | else if ("SLOWER_-" == cmd) | 348 | else if ("SLOWER_-" == cmd) |
348 | { | 349 | { |
349 | integer sp = llListFindList(AOspeeds, [getSetting("SPEED")]); | 350 | integer sp = llListFindList(AOspeeds, [getSetting("SPEED")]); |
@@ -734,12 +735,12 @@ string nextState; // AO state name. | |||
734 | // Smiler | 735 | // Smiler |
735 | integer SmileCounter = 0; | 736 | integer SmileCounter = 0; |
736 | string Smile = "express_toothsmile"; | 737 | string Smile = "express_toothsmile"; |
737 | list Smiles = | 738 | list Smiles = |
738 | [ | 739 | [ |
739 | "express_smile", | ||
740 | "express_toothsmile", | 740 | "express_toothsmile", |
741 | "express_wink_emote", | 741 | "express_embarrassed_emote", |
742 | "express_tongue_out" | 742 | "express_smile", |
743 | "express_wink_emote" | ||
743 | ]; | 744 | ]; |
744 | 745 | ||
745 | // Couples | 746 | // Couples |