12-Jul-2023
A black mesa announcer doing random announcements.
Keyvalues |
OnDestroy Function ondestroyfn : Name of the function to use from already parsed .as script files when entity is destroyed (killed) in any way. If the function belongs to namespace, you must use prefix with the namespace name (e.g. mynamespace::MyFunction) for the keyvalue.
Name targetname : Set name of speaker so other entities can trigger it to enable announcements. Depending on trigger use-type: 'On'- enable announcement, 'Off'- disable announcement, 'Toggle'- toggle announcement. Can be kill-targeted but sound already played won't be removed.
Announcement Presets preset : Name of announcement group to play. Found in default_senteces.txt, look for grouped "intercom" labeled entries.
Sentence Group Name message : Better use presets to choose announcement group.
Volume (10 = loudest) health : Announcement volume.
1 : Start Silent : Speaker need to be triggered in order to be enabled.