Npc vortigaunt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Linked to vortigaunts.)
m (→‎Outputs: !activator)
Line 69: Line 69:


* '''OnPlayerUse'''
* '''OnPlayerUse'''
: Fires when a player +USEs the vortigaunt.
: Fires when a player +USEs the vortigaunt. Use !activator to target the player.


==See Also==
==See Also==

Revision as of 18:43, 16 April 2006

Template:Wrongtitle

Entity Description

Vortigaunt

Allow multiple models (for slaves), but default to vortigaunt.mdl

Note.pngNote:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

Dedicated Console Variables

  • sk_vortigaunt_health
<integer> Vortigaunt spawn health
  • sk_vortigaunt_armor_charge
<integer> Amount of energy to charge the player with
  • sk_vortigaunt_dmg_claw
<integer> Damage from a claw melee attack
  • sk_vortigaunt_dmg_rake
<integer> Damage from a rake melee attack
  • sk_vortigaunt_dmg_zap
<integer> Damage from a zap range attack

Keyvalues

  • model
<studio> World model
  • ArmorRechargeEnabled
<boolean> Allow Armor Recharging

Flags

Inputs

  • EnableArmorRecharge
Allow armor recharging on players
  • DisableArmorRecharge
Do not allow armor recharging on players
  • ExtractBugbait <string>
Causes the vortigaunt to extract bugbait from the named target passed in.
  • ChargeTarget <string>
Force the vortigaunt to charge the named target.

Outputs

  • OnFinishedExtractingBugbait
Fires when the vortigaunt's finished extracting bugbait from a target.
  • OnFinishedExtractingTauCannon
Fires when the vortigaunt's finished extracting the tau cannon from the jeep.
  • OnFinishedChargingTarget
Fires when the vortigaunt has finished charging a target.
  • OnPlayerUse
Fires when a player +USEs the vortigaunt. Use !activator to target the player.

See Also

  • Vortigaunt - Background information about vortigaunts.