Jump to content

Shark999

Resident
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Shark999

  1. Is there anything else I must add to the script ? Because I tried it and nothing happened when I left clicked somewhere (I even replaced getinventory by the name of the animation and sound after, but still not working)
  2. Hello ! I'd like to make a script that triggers a sound and an animation every time I click somewhere (not clicking on the avatar). Here's the script : default { key id = llDetectedKey(1); state_entry() { llRequestPermissions(llGetOwner(), PERMISSION_TAKE_CONTROLS | PERMISSION_TRIGGER_ANIMATION); } run_time_permissions(integer perm) { if(PERMISSION_TAKE_CONTROLS & perm) { llTakeControls(CONTROL_LBUTTON, 0, TRUE, FALSE); } } control (id,CONTROL_LBUTTON, CONTROL_LBUTTON) { llTriggerSound ("sound", 0.5); llStartAnimation ("animation"); llSetTimerEvent (3); } timer () { llStopAnimation("animation"); } } The only problem is that I don't know what to do for the Key Id. Must I take my avatar's UUID ? And how can I do it ?
  3. Thanks ! I just forgot to put "==" instead of "=" It works perfectly now ! Thanks again !
  4. Hello ! Recently, I've been trying to make an object that emmits a random sounds when touched. But I have a problem with llFrand : I put "integer random = (integer) llFrand (7.0)" but it always return the number 1. How can I fix it ? Thanks
  5. Le problème est résolu, il semblerait que cela venait d'un des groupes SL auquel j'appartiens actuellement.
  6. Bonjour. Depuis hier, le message cité ci-dessus apparaît à chacune de mes tentatives de connexion (et pourtant, il n'y avait aucun problème quand je me suis connecté une heure auparavant). Pour être sûr que le problème ne venait pas de la région en particulier, j'ai essayé de me conecter à plusieurs régions différentes au hasard, rien n'y fait. J'ai même essayé avec Viewer 2 et Firestorm, le résultat reste le même. Que puis-je faire ? Merci d'avance.
×
×
  • Create New...