Jump to content

Rowan Afterthought

Resident
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

3 Neutral

About Rowan Afterthought

  • Rank
    Newbie
  1. Thank you for this! With that in consideration, it is now working as expected. It's always the small nuances that I over look... list List = ["n","8562eb25-0a93-4c6d-9a9e-380fb123a571","aa430197-791d-480d-90ed-5c0b4588416d","13056ed9-7351-446d-b7ee-3152aeffed1a"]; default { touch_start(integer total_number) { list TOUCHER = [(string) llDetectedKey(0)]; integer found = llListFindList(List,TOUCHER); if(found!=-1){llSay(0,"Found");llSay(0,(string)found);} else{llSay(0,"Not Found");llSay(0,(string)found);} } } 13056ed9-7351-446d-b7ee-3152aeffed1a = my key. Touching returns: [15:36] Object: Found [15:36] Object: 3 As expected. Thank you everyone for your replys!
  2. @Rolig Loon I did try it like that before... Your suggestion returns: [15:01] Object: Not Found [15:01] Object: -1 Still not finding my uuid in the list, but at least it's got the right integer value for not finding it. @Ruthven Ravenhurst I also tried your suggested layout before, but it also returns Not found and 0.
  3. To be clear, I am trying to make a note card based UUID blacklist. This code and post is just to figure out what the heck is going on with ListFindList. Because I'm baffled.
  4. list List = ["n","n","13056ed9-7351-446d-b7ee-3152aeffed1a"]; default { touch_start(integer total_number) { list TOUCHER = [llDetectedKey(0)]; integer found = ~llListFindList(List,TOUCHER); if(found){llSay(0,"Found");llSay(0,(string)found);} else{llSay(0,"Not Found");llSay(0,(string)found);} } } Result when touched: [14:37] Object: Not Found [14:37] Object: 0 The integer that is reported should be 2, corresponding to my UUID in the list when it matches my UUID upon touching the object. -1 means it was not found in the list by listfindlist. As far as I know (found) should be triggered when the integer is not negative. As you can see, it's not finding my UUID in the list and listing it's integer as 0... when it should be -1 for failed find or 2 for the list position. I've been messing with this for a few days and am completely lost as to how to make it work.
  5. Wow, that was a lot simpler than I thought it would be... Big brain time. Thank you for your help!
  6. I did try llStartAnimation with the uuid for away... but looking back that's not how startanim works it seems. Is there code for forcing agent info? ...like llGetAgentInfo but changing the tags?
  7. I'm looking for a way to trigger the little "away" text to show up in the name tag. I have seen a friend, a long time ago, get it working in a hud. For both Away and Busy statuses... I tried uploading an internal animation for avatar_away, but (maybe obviously) it's just the hip bend and doesn't activate true away status. Any help would be appreciated ❤️
×
×
  • Create New...