Search found 2 matches

by Kru Ruk
Thu May 21, 2020 3:15 am
Forum: Scripting
Topic: no sitting avatar does not read as false
Replies: 3
Views: 2841

Re: no sitting avatar does not read as false

Thanks for the replies. I was just looking for a little clarity. There were so many opensim scripts using the code fragment: key av = llAvatarOnSitTarget(); if (av) { // avatar is sitting do something } else { // avatar just stood up, do something } It felt weird that so many people were using a cod...
by Kru Ruk
Wed May 20, 2020 2:17 am
Forum: Scripting
Topic: no sitting avatar does not read as false
Replies: 3
Views: 2841

no sitting avatar does not read as false

(Sorry for the less than clear subject line.) Here's the issue. I am porting many scripts I have written elsewhere into Kitely. I ran into a problem with detecting when the avatar stands up. key sittingID = llAvatarOnSitTarget(); llOwnerSay("sittingID " + (string) sittingID); if ((string) sittingID ...