Jump to content

rjunyeol

Resident
  • Posts

    3
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

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

  1. Yes I replaced them, but I kept getting syntax errors, and I wasn't sure what I messed up. I'm not asking anyone to write scripts for me, only asked how to fix the error. But you and others provided me with codes and I wanted to try them out, just wasn't working for me. The code I asked help for I'm sure is something very simple and beginner level for all scripters here, so yeah I don't need to hire someone for something like that. I also don't plan to become a scripter. If I need someone to write me an advanced code, I'll definitely pay for it.
  2. Thank you! the error is gone. However, I notice that I have to click the HUD twice for the animation to activate. Any way to fix that? I copied your code over but I keep getting syntax errors. Sorry I don't know anything about scripts so I'm not sure what I'm doing wrong. I did put it where you said to. On key id I'm supposed to put the id of the hud? I don't know how to get that. But I also kept getting syntax errors. Thanks all for your help but if you can please be more specific where I have to paste the code you're giving me and how the whole code is supposed to look like cause I can't seem to fix these syntax errors.
  3. Hello, I made a HUD to play an animation on touch, and turn off on touch again. For me it works fine, but when I sent it to my alt to test it's working well, it gives this error "Script trying to stop animations but PERMISSION_TRIGGER_ANIMATION permission not set". The HUD still works and animates but I want to get rid of this error since I'm selling it and that would look bad. the script: integer playing; default { state_entry() { playing = FALSE; } touch_start(integer start_param) { if(playing == FALSE) { llRequestPermissions(llDetectedKey(0),PERMISSION_TRIGGER_ANIMATION); } else if(playing == TRUE) { llStopAnimation(llGetInventoryName(INVENTORY_ANIMATION,0)); playing = FALSE; } } run_time_permissions(integer perm) { if (perm & PERMISSION_TRIGGER_ANIMATION) { playing = TRUE; llStartAnimation(llGetInventoryName(INVENTORY_ANIMATION,0)); } } }
×
×
  • Create New...