npc_gman
Jump to navigation
Jump to search
npc_gman
is a point entity available in Half-Life 2, Half-Life 2: Episode One, Half-Life 2: Episode Two, Half-Life 2: Deathmatch, and Black Mesa.
The G-Man, Gordon's mysterious 'employer', working for an unknown third party. Controls time and teleports from place to place.
Note:This NPC is unkillable by player and other damage sources in Black Mesa. However, player is still able to create hole decals on this NPC.
Keyvalues
TalkNPC:
- Use Sentence (UseSentence) <string>
- Sentence spoken when the NPC gets +used by a player
- Un-Use Sentence (UnUseSentence) <string>
- Sentence spoken NPC gets used again
- Don't Use Speech Semaphore (DontUseSpeechSemaphore) <boolean>
- Friendly NPCs are not allowed to speak if another friendly NPC is speaking. In some cases, we don't want speaking NPCs to prevent other NPCs from speaking (for instance, if there is a friendly NPC speaking for a long time on a monitor). To make this NPC not prevent other NPCs from talking, make it not grab the semaphore when it speaks.
CBaseCombatCharacter:
CAI_BaseNPC:
DamageFilter:
|
Flags
TalkNPC:
Wait Till Seen : [1]
Gag : [2]
Fall to ground (unchecked means teleport to ground) : [4]
Efficient : [16]
Wait For Script : [128]
Long Visibility/Shoot : [256]
Fade Corpse : [512]
Template NPC : [2048]
Note:This flag is disabled in episodic for player companions, because the
StartScripting input does this.Don't drop weapons : [8192]
|
Inputs
TalkNPC:
- SpeakResponseConcept <string> (in all games since )
- Speak the specified response concept immediately.
CAI_BaseNPC:
CBaseCombatCharacter:
DamageFilter: |
Outputs
|
Categories:
- Half-Life 2 entities
- Half-Life 2 point entities
- Half-Life 2: Episode One entities
- Half-Life 2: Episode One point entities
- Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two point entities
- Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch point entities
- Black Mesa entities
- Black Mesa point entities
- Half-Life 2 NPCs