Jump to content

Aluraa

Resident
  • Posts

    4
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. simple as that. thank you!
  2. -it is suposed to say "no" when clicked 9 times then say "Hello!" on click number 10 then reset icount to 0. -what its doing is saing "Hello!" every time. anyone know the problem? integer icount = 0; default { touch_start(integer detected) { if (icount = 10) { llSay(0, "Hello!"); icount = 0; } else { llSay(0, "no"); icount = icount + 1; } } }
  3. that looks like it should work. im getting a syntax error though. default { touch_start(integer total_number) { llGetInventoryName(INVENTORY_SOUND,(integer)llFrand(llGetInventoryNumber(INVENTORY_SOUND))) llPlaySound((INVENTORY_SOUND,0),1); } } Does this look right to you? thanks so much for helping btw!
  4. hi there. i need help please. I'm trying to make inventory sounds play at random no matter how many you add to the contents of the box. i want to click on the box and a sound plays at random. I have this: default { touch_start(integer total_number) { llPlaySound(llGetInventoryName(INVENTORY_SOUND,0),1); } } I tried to add the above examples of code to randomize it but couldn't figure it out.
×
×
  • Create New...