From Valve Developer Community
Jump to navigation
Jump to search
Keyvalues
- GameEndAlly <boolean> (in all games since )
- This NPC will cause the game to end if killed.
Inputs
- IdleRespond !FGD
- EnableSpeakWhileScripting
- Allow this NPC to speak responses while in a scripted sequence or while StartScripting is active.
- DisableSpeakWhileScripting
- Cancels this NPC's ability to speak responses while in a scripted sequence or while StartScripting is active if it was previously enabled by EnableSpeakWhileScripting.
- SpeakResponseConcept <string>
- Speak the specified response concept immediately.
- MakeGameEndAlly
- If set, game ends if this character dies.
- MakeRegularAlly
- If set, game does not end if this character dies.
- AnswerQuestion <integer> !FGD
- AnswerQuestionHello <integer> !FGD