Jump to content

sndbad Ghost

Resident
  • Posts

    60
  • Joined

  • Last visited

Everything posted by sndbad Ghost

  1. hello friends i have probelm with media player script when i set PRIM_MEDIA_HEIGHT_PIXELSlike 2150 i get this problem llSetPrimMediaParams error: Bounds error near parameter #4, param=10. No values have been set. idk why here is script basic from SL init() { integer face = 2; integer w = 990; integer h = 2150; string url = "https://www.youtube.com/"; llClearPrimMedia(face); // forces refresh of cache if reloading the same page llSetPrimMediaParams(face, [ PRIM_MEDIA_CURRENT_URL, url, PRIM_MEDIA_AUTO_SCALE, TRUE, PRIM_MEDIA_AUTO_PLAY, TRUE, PRIM_MEDIA_WIDTH_PIXELS, w, PRIM_MEDIA_HEIGHT_PIXELS, h ]); } default { state_entry() { init(); } on_rez(integer start_param) { } }thanks and best regards
  2. hello i try to make animation for texture not all side and not only one side i try to make it for two sides in one prim is that possible i make this sample script but i dont think so its work default { state_entry() { llSetTextureAnim(ANIM_ON | SMOOTH|LOOP, 4+5, 1, 1, 0.0, 0.0, 0.1); } }
  3. mmmm i think is not hard but i want know what happened i want get owner name for object its work fine but when owner logout from SL dos not work just this default { touch_start(integer total_number) { llSay(0, llKey2Name(llGetOwner())+ " Touched."); } }
  4. thank you i fix it :matte-motes-nerdy:
  5. hi guys i make this script for remove texture if more than 24 characters when i drop texture in invintory its work fine but i have a little bug when i add texture with 23 characters and down the script stop working integer removetexture; default { changed(integer change) { if (change & CHANGED_INVENTORY) { string removename = llGetInventoryName(INVENTORY_TEXTURE, removetexture); if ( llStringLength(removename) >24) { llSay( 0,removename+"it removed"); llRemoveInventory(removename); } } } }
  6. after when i drop a prim i change the group but dosent work idk why its work with same land group but when i set to onther group from // general > group > choose a group to share this object
  7. i mean i want set another group not same land group this script work for same land group tag i want another tag not same land group thanks
  8. hello friends , i am looking for group item giver with my group set not same sim i got this one is work perfect but this work with same sim only https://community.secondlife.com/t5/Scripting-Library/Group-Item-Giver/td-p/99836 is threre any way to fix that ? thanks
  9. yes you right itry everything frist thanks
  10. hello is there way to give maney back to any payer when avatar pay to object . the object return money to user :smileyfrustrated:
  11. // touch to toggle particle on/off integer isOn = 1; startParticle() { llParticleSystem ( [ // PUT YOUR PARTICLE PARAMETERS HERE ] ); } default { state_entry() { startParticle(); isOn = 1; } touch_start(integer num_detected) { if (isOn == 1) { llParticleSystem([]); isOn = 0; } else { startParticle(); isOn = 1; } } }
  12. oh thank you thats work :matte-motes-big-grin:
  13. thank you so much rolig :matte-motes-bashful-cute-2:
  14. hello guys i thing this idea so easy to make it if avatar tuch object object say : thank you for touch if same avatar touch it again. object say wait to another avatar to touch again i try to scripting but i got some problem ...
  15. thank you for scripting.. but does not work :smileysad:
  16. thank you for answering, i want make a gift for last payer when owner click on the Dialog button the script give object for last payer
  17. hello there , my problem when i want Detected key UUID avatar so when i click on the object its work fine ,but when i pay dosnt work object says: Object: 00000000-0000-0000-0000-000000000000 = 00000000-0000-0000-0000-000000000000 anyy idea for fix that ? thanks default { on_rez(integer i) { llResetScript(); } state_entry() { } touch_start(integer total_number) { integer i = 0; for (; i < total_number; ++i) { llSay(0, llDetectedName(i) + " = " + (string)llDetectedKey(i)); } } money(key id, integer amount) { integer i = 0; for (; i < amount; ++i) { llSay(0, llDetectedName(i) + " = " + (string)llDetectedKey(i)); } } }
  18. hello guys i want give object from content to some avatar name not UUID avatar! is there anyway ?
  19. hello friends i make sample script for change object color with TextBox i use this script vector message ="" ; integer gListener; default { touch_start(integer total_number) { integer channel = -13572468; gListener = llListen( channel, "", "", ""); llTextBox(llDetectedKey(0), "Some info text for the top of the window...", channel); } listen(integer channel, string name, key id, string message) { llListenRemove(gListener); llSetColor(message, ALL_SIDES); } }its work fine . with master prim but i need it works with linked prim not master object . i hope you get what i mean thanks
×
×
  • Create New...