Spitter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-spitter)
 
mNo edit summary
Line 1: Line 1:
{{Ent not in fgd|nolink=1}}
{{Ent not in fgd|nolink=1}}
{{CD|Spitter|CTerrorPlayer}}
{{CD|Spitter|CTerrorPlayer}}
{{entity|type=e0|game=Left 4 Dead 2|spitter}} By default director tries to spawn her in front of survivors (SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS spawn set). Spitter spawns with [[weapon_spitter_claw]] which is her melee ability and [[ability_spit]] which controls his special ability. Her special ability creates [[spitter_projectile]].
{{entity|type=e0|game=Left 4 Dead 2|spitter}} By default director tries to spawn her in front of survivors (SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS spawn set). Spitter spawns with [[weapon_spitter_claw]] which is her melee ability and [[ability_spit]] which controls her special ability. Her special ability creates [[spitter_projectile]] when used.
{{tip|To spawn spitter manually {{ent|commentary_zombie_spawner}}, {{ent|info_zombie_spawn}} or [[Left_4_Dead_2/Script_Functions/ZSpawn|ZSpawn]] script function can be used.}}
{{tip|To spawn spitter manually {{ent|commentary_zombie_spawner}}, {{ent|info_zombie_spawn}} or [[Left_4_Dead_2/Script_Functions/ZSpawn|ZSpawn]] script function can be used.}}
{{warning|Trying to spawn spitter using SpawnEntityFromTable script function or by placing her directly in a map will crash the game}}
{{warning|Trying to spawn spitter using SpawnEntityFromTable script function or by placing her directly in a map will crash the game}}

Revision as of 17:08, 20 July 2023

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
Spitter
BossZombiePlayerBot
NextBotPlayer
CTerrorPlayer
CCSPlayer
CBaseMultiplayerPlayer
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

Template:Entity By default director tries to spawn her in front of survivors (SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS spawn set). Spitter spawns with weapon_spitter_claw which is her melee ability and ability_spit which controls her special ability. Her special ability creates spitter_projectile when used.

Tip.pngTip:To spawn spitter manually commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used.
Warning.pngWarning:Trying to spawn spitter using SpawnEntityFromTable script function or by placing her directly in a map will crash the game
Note.pngNote:Spawned spitter's classname is player

ConVars/ConCommands

See Also