aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-09-06 22:17:42 +1000
committeronefang2021-09-06 22:17:42 +1000
commit5ce409bac193fec84352d2778e659fee2908a628 (patch)
treec60e8cbe26914a25f25f8c26af377d1603529809
parentEmotes! (diff)
download1ring-5ce409bac193fec84352d2778e659fee2908a628.zip
1ring-5ce409bac193fec84352d2778e659fee2908a628.tar.gz
1ring-5ce409bac193fec84352d2778e659fee2908a628.tar.bz2
1ring-5ce409bac193fec84352d2778e659fee2908a628.tar.xz
More emotes! Also, last commit included the single poses code.
-rw-r--r--1AOor2.lsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/1AOor2.lsl b/1AOor2.lsl
index 26cc845..eae6b72 100644
--- a/1AOor2.lsl
+++ b/1AOor2.lsl
@@ -433,6 +433,12 @@ integer doThing(key id, string button, string fr, string cmd, string data, integ
433 if ("" == Posed) // Coz we don't want the checkAO regular SYNC R to break us out of the pose. 433 if ("" == Posed) // Coz we don't want the checkAO regular SYNC R to break us out of the pose.
434 checkSitters(TRUE); 434 checkSitters(TRUE);
435 } 435 }
436 else if ("EMOTE" == cmd)
437 {
438 f = findAvatar(data);
439 if (-1 != f)
440 doEmote(Pose, f);
441 }
436 else if ("POSE" == cmd) 442 else if ("POSE" == cmd)
437 { 443 {
438 list p = llParseStringKeepNulls(data, [","], []); 444 list p = llParseStringKeepNulls(data, [","], []);
@@ -1051,6 +1057,9 @@ savePose(string name, string anim, string exp, string posRot)
1051 exp = llList2String(Poses, f + psEMOTE); 1057 exp = llList2String(Poses, f + psEMOTE);
1052 } 1058 }
1053 else if ("" == posRot) posRot = llList2String(Poses, f + psPOSROT); 1059 else if ("" == posRot) posRot = llList2String(Poses, f + psPOSROT);
1060 if (NULL_KEY == exp) exp = "";
1061 if (NULL_KEY == posRot) posRot = "";
1062 if (-1 != f)
1054 Poses = llListReplaceList(Poses, [name, anim, exp, posRot], f, f + psSTRIDE - 1); 1063 Poses = llListReplaceList(Poses, [name, anim, exp, posRot], f, f + psSTRIDE - 1);
1055 else 1064 else
1056 Poses += [name, anim, exp, posRot]; 1065 Poses += [name, anim, exp, posRot];