Hodge-1053 icon

Door Demo ACS Script

Hodge-1053 | PRO | 01/01/15 12:30:19 AM UTC | 0 ⭐ | 11191 👁️ | Never ⏰ | []
ActionScript |

770 B

|

None

|

0 👍

/

0 👎

/*
 
+=====================+
| Door Switch Demo    |
| Made by Jamie Hodge |
| Date: 05-02-2014    |
+=====================+
 
*/
 
#include "zcommon.acs"
 
INT JamiesDoor;
 
Script 1 (Void)  //  to be placed on door switch
{
  If(!CheckInventory("YellowCard"))
  {
    AmbientSound("Beep1",127);
    Print(s:"Yellow Keycard Required");
  }
 
  Else
 
  If (JamiesDoor == 0)
  
  {
    JamiesDoor = 1;
    Print(s:"Door is now unlocked. You may enter the room now!");
    SetLineTexture(1,Side_Front,Texture_Middle,"SW1JH");
  }
}
 
Script 2 (Void)  // to be placed on polyobject door
{
  If (JamiesDoor == 0)
  {
    Print(s:"Access Denied.  Please use security card, yellow level to enter!");
  }
  
  Else
  
  {
    AmbientSound("Beep2",127);
  }
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  • Syizuxtrn icon
    05/18/26 02:02:21 AM UTC
    text |

    0 B

    |

    0 👍

    /

    0 👎

    Best t33n active cpx link daily updates!
     Copy and paste the link in a new browser tab and then hit enter!
     https://crazyporn.xxx/members/157354/?asgtbndr=1&play=true&spon=adworld&zone=400