Jump to content

BSL:Functions: Difference between revisions

Line 340: Line 340:
===sound===
===sound===


*chr_pain [ai_name:string | script_id:int] pain_type:string - forces a character to play a pain sound
*chr_pain [ai_name:string | script_id:int] pain_type:string - forces a character to play a pain sound ''pain type strings: light, medium, heavy, death''
### pain type strings: light, medium, heavy, death
*chr_talk [ai_name:string | script_id:int] sound_name:string pre_pause:int post_pause:int [priority:string | ] - causes a character to play a line of *dialogue - chr_talk victim_mansci_1 c02_62_11sci 0 0
*chr_talk [ai_name:string | script_id:int] sound_name:string pre_pause:int post_pause:int [priority:string | ] - causes a character to play a line of *dialogue - chr_talk victim_mansci_1 c02_62_11sci 0 0
sound_ambient_start name:string [volume:float] - function to start an ambient sound - sound_ambient_start alarm_loop
sound_ambient_start name:string [volume:float] - function to start an ambient sound - sound_ambient_start alarm_loop
830

edits