scripted_sentence
Last edited 1 year ago2023-02-28 10:20:40 UTC
- Wiki
- View Page
-
You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
Point EntityA scripted_sentence allows you to make a monster say something. Available sentence names can be found in the
sound\sentences.txt file.
Attributes
- Name (targetname) - Property used to identify entities.
- Target (target) - When an entity is activated, it triggers the entity with the name specified by Target.
- Delay before trigger (delay) - Usually the time in seconds before an entity should trigger its target (after being triggered itself). Under other SmartEdit names, delay might also be the time to wait before performing some other action.
- Kill Target (killtarget) - Event to be killed once the sentence has finished.
- Sentence Name (sentence) - Sentence to play (see notes).
- Speaker Type (entity) - This is the name of the entity that says the sentence.
- Sentence Time (duration)
- Search Radius (radius)
- Delay Before Refire (refire)
- Listener Type (listener) - The name of the entity that the speaker will look towards while speaking.
- Volume (volume) - Range: 0 - 10.
- Sound Radius (attenuation)
Flags
- Fire once (1) - The scripted_sentence will be removed from the game once the sentence has started playing on the affected monster.
- Followers only (2) - Once the scripted_sentence is activated, the sentence will play only when the speaker is in the state of following the player (via pressing +use on the talk monster who is not pre-disaster).
- Interrupt speech (4) - If enabled, the affected talk monster will speak the sentence even when in combat state or other speakers are talking. This flag is also required if you want to make a talk monster with Gag flag speak or if you want the monster to say the sentence even without player presented in PVS.
- Concurrent (8) - If enabled, when the scripted sentence is played on the affected talk monster, other talk monsters (barneys and scientists) will stop their speech (both regular and scripted sentences). The name of the flag is somewhat misleading and should be called "Shut up friends". Disabling this flag allows several talk monsters to speak at the same time.
Notes
- Enter 'player' as Listener Type if you want the speaker to look at the player while talking.
- Make sure you preface the sentence with " ! ". Example. Sentence BA_LETMEOUT would be added as !BA_LETMEOUT
1 Comment
You must log in to post a comment.
You can login or register a new account.