LoD_PRC8/_module/nss/ew_sglassbreak.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

31 lines
581 B
Plaintext

void main()
{
object oDM = GetLastSpeaker();
switch (Random(7))
{
case 0: AssignCommand ( oDM, PlaySound("as_cv_barglass3"));
break;
case 1: AssignCommand ( oDM, PlaySound("as_cv_claybreak1"));
break;
case 2: AssignCommand ( oDM, PlaySound("as_cv_claybreak2"));
break;
case 3: AssignCommand ( oDM, PlaySound("as_cv_claybreak3"));
break;
case 4: AssignCommand ( oDM, PlaySound("as_cv_glasbreak3"));
break;
case 5: AssignCommand( oDM, PlaySound("as_cv_glasbreak2"));
break;
case 6: AssignCommand( oDM, PlaySound("as_cv_glasbreak1"));
break;
}
}