CAI PlayerAlly: Difference between revisions
Jump to navigation
Jump to search
Since
Gameplayer (talk | contribs) mNo edit summary |
m (Ever since the SP stuff was moved to its own branch with the TF2 SDK update, the MP stuff has wound up in the main one) Tag: Reverted |
||
Line 1: | Line 1: | ||
{{CD|CAI_PlayerAlly|file1= | {{CD|CAI_PlayerAlly|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/master/src/game/server/ai_playerally.cpp ai_playerally.cpp]}} | ||
==Keyvalues== | ==Keyvalues== |
Revision as of 01:10, 29 May 2025
![]() |
---|
CAI_PlayerAlly |
![]() |
Keyvalues
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.
Since
Half-Life 2: Episode One
- 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.