ES_PRC8/_module/nss/ew_thunder.nss

31 lines
582 B
Plaintext
Raw Normal View History

2023-11-14 12:09:02 -05:00
void main()
{
object oDM = GetLastSpeaker();
switch (Random(7))
{
case 0: AssignCommand ( oDM, PlaySound("as_wt_thundercl1"));
break;
case 1: AssignCommand ( oDM, PlaySound("as_wt_thundercl2"));
break;
case 2: AssignCommand ( oDM, PlaySound("as_wt_thundercl3"));
break;
case 3: AssignCommand ( oDM, PlaySound("as_wt_thundercl4"));
break;
case 4: AssignCommand ( oDM, PlaySound("as_wt_thunderds1"));
break;
case 5: AssignCommand( oDM, PlaySound("as_wt_thunderds2"));
break;
case 6: AssignCommand( oDM, PlaySound("as_wt_thunderds3"));
break;
}
}