Npc antlion: Difference between revisions
Jump to navigation
Jump to search
Note:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
TomEdwards (talk | contribs) m (You get the message...) |
(shrunk antlion picture) |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=npc_antlion}} | {{wrongtitle|title=npc_antlion}} | ||
==Entity Description== | ==Entity Description== | ||
[[Image:Antlion.jpg| | [[Image:Antlion.jpg|thumb|350px|right|Antlion - click to enlarge.]] | ||
Antlions can burrow, jump, and fly. The player can command up to 4 antlions at a time, provided that the correct [[env_global]] variable is set and [[weapon_bugbait]] is equipped. Their most common role in level design is that of cannon fodder. | Antlions can burrow, jump, and fly. The player can command up to 4 antlions at a time, provided that the correct [[env_global]] variable is set and [[weapon_bugbait]] is equipped. Their most common role in level design is that of cannon fodder. |
Revision as of 13:44, 26 July 2005
Entity Description
Antlions can burrow, jump, and fly. The player can command up to 4 antlions at a time, provided that the correct env_global variable is set and weapon_bugbait is equipped. Their most common role in level design is that of cannon fodder.

Keyvalues
- startburrowed
- <boolean>
- radius
- <integer> Alert Radius
- eludedist
- <integer> Distance until eluded - Only available when Burrow When Eluded is flagged"
- ignorebugbait
- <boolean>
Flags
- 65536 : Burrow when eluded
- 131072 : Use Ground Checks
Inputs
- Unburrow
- Unburrow from the ground
- Burrow
- Burrow into the ground
- FightToPosition <string>
- Fight to position
- EnableJump
- Allow non-navigational jumping
- DisableJump
- Disallow non-navigational jumping
- IgnoreBugbait
- Ignore bugbait
- HearBugbait
- Hear bugbait
Outputs
- OnReachedFightGoal
- Fires when the antlion reaches his specified fight-to location