Ability tongue
Jump to navigation
Jump to search

This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.
![]() |
---|
CTongue |
Template:L4d series point It's the smoker's tongue attack. This entity is located at the tip of his tongue.
NetProps
[Todo]
CTongue
- m_currentTipTarget ([todo internal name (i)]) <targetname*>
- Player the smoker started his tongue attack at
Tip:set to null to abort tongue attack in state 2
- m_potentialTarget ([todo internal name (i)]) <targetname*>
- Some player that smoker can start tongue attack at from his current position and angles
- m_tongueGrabStartingHealth ([todo internal name (i)]) <integer>
- health of a smoker at the moment he caught a survivor
- m_tongueVictimLastOnGroundTime ([todo internal name (i)]) <float>
- server time of the last time caught survivor was touching the ground
- m_bendPositions ([todo internal name (i)]) <array of vectors>
- points where tongue is bent
Note:only first bend point can be read with the current vscript functions
- m_tongueState ([todo internal name (i)]) <integer>
- 0 = not being used
1 = tongue attack was launched with no potential target so will fail
2 = in the air attempting to catch something
3 = pulling a survivor
4 = tongue broke
- m_tongueVictimPositionTime ([todo internal name (i)]) <float>
- the last server time when caught survivor changed position
CBaseAbility
- m_owner ([todo internal name (i)]) <targetname*>
- owner of the ability
- m_nextActivationTimer.m_duration ([todo internal name (i)]) <integer>
- determined by tongue_miss_delay or tongue_hit_delay cvars
- m_nextActivationTimer.m_timestamp ([todo internal name (i)]) <integer>
- server time smoker's next attempt of doing tongue attack is ready