Jump to content

Dracco Slavicz

Resident
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Dracco Slavicz

  1. Hello everyone, I have an object with a description numbers separated by coma like this: 957,23,245 are there any way to get only the first numbers (in this example 957) and set them as object hover text? Thank you in advance.
  2. Hello everyone, I'm doing a plane, I have almost all finished and now im bearing with sounds. And there is a problem with crashes, I don't know how detect the crash to execute llPlaySound. Have solution my request?
  3. Hello everyone, I am trying to make a script that detect when one object have one determinated notecard in it. To do this, I did an object with a notecard inside named Config and then i did this script but never recognize the notecard. What is i am doing wrong? default { state_entry() { if (llGetInventoryPermMask("Config", PERM_ALL) == 1) { llSay(PUBLIC_CHANNEL, "Found \"Config\" notecard in this object."); } else { llSay(PUBLIC_CHANNEL, "there must be exactly one notecard called \"Config\" in this object."); } } }
  4. Hello Dora, seem dont work for me, really i need an independent vertical rotation that point to avatars dont work with a combined rotations because i use 2 independent axis. Thank you anyway
  5. I have working this one for the horizontal rotate, and works but i cant to do the vertical one rotation. key model;integer tog=0;vector lookat; rotation Vec2RotHor( vector V ){ V = llVecNorm( V ); vector UP = < 0.0, 0.0, 1.0 >; vector LEFT = llVecNorm(UP%V); V = llVecNorm(LEFT%UP); return llAxes2Rot(V, LEFT, UP);} default{ touch (integer n) { llSetTimerEvent( 0.2 ); model = llDetectedKey(0); } timer() { lookat = llList2Vector( llGetObjectDetails( model, [OBJECT_POS]), 0 ); if ( lookat != ZERO_VECTOR ) { if ( !tog ) { llSetRot( Vec2RotHor( lookat - llGetPos())); } } }}
  6. Hello im trying to build a surveillance camera that follow the people, this camera have two kind of rotation, one is for the X rotation (PINK Arrow) and the other one ix for the Y rotation (LIGHT BLUE Arrow). Well at this point i can rotate the camera in the X (PINK Arrow) axe, but i dont know how i need to do to rotate the camera up and down. IMAGE TO HELP
×
×
  • Create New...