Jump to content

scottdolphin

Resident
  • Posts

    7
  • Joined

  • Last visited

Posts posted by scottdolphin

  1. so this is my open and closed script.  Where would I put the password text box?  I keep getting syntax errors

    default //initially closed
    {
      touch_start(integer num_detected) { state open; }
    }

    state open
    {
      state_entry()
      {
        rotation r1 = llEuler2Rot(<0.0,0.0,90.0> * DEG_TO_RAD);
        llSetRot(r1 * llGetRot());    
      }
      touch_start(integer num_detected) { state closed; } 

    state closed 
    {              
      state_entry()     
      {      
        rotation r2 = llEuler2Rot(<0.0,0.0,-90.0> * DEG_TO_RAD);      
        llSetRot(r2 * llGetRot());    
      }                
      touch_start(integer num_detected) { state open; } 
    }

  2. I have been looking for a simple password door script with an autoclose function.  Does anyone have any suggestions.  

    I could also use a badge access script that will allow users to enter certain areas only if they are wearing the correct 'badge' or combination of 'badges'.

    I am building a gamified immersive curriculum and need to create areas that can only be accessed once specific tasks or assignments are complete.

    I have a general grasp of LSL and can script simple functions but use small words please...🙂

×
×
  • Create New...