Difference between revisions of "Npc dog"

From Valve Developer Community
Jump to: navigation, search
m (Entity Description)
Line 1: Line 1:
 
{{wrongtitle|title=npc_dog}}
 
{{wrongtitle|title=npc_dog}}
 
==Entity Description==
 
==Entity Description==
[[Image:D0g.jpg|frame|right|d0g]]
+
[[Image:D0g.jpg|frame|right|Dog]]
  
'''Dog''' is one of the main characters introduced in Half-Life 2 and is described by [[Alyx Vance]] as being built by her father, [[Eli Vance]], to protect her after the events at [[Black Mesa]]. For more information please see the character page for [[Dog]].
+
'''Dog''' is one of the main characters introduced in Half-Life 2.  '''Dog''' can play fetch and pick up things.
 +
 
 +
Also see descriptions for [[Dog]] and other [[:Category:Half-Life Continuity]]
  
 
{{npcnote}}
 
{{npcnote}}

Revision as of 22:20, 2 September 2005

Template:Wrongtitle

Entity Description

Dog

Dog is one of the main characters introduced in Half-Life 2. Dog can play fetch and pick up things.

Also see descriptions for Dog and other Category:Half-Life Continuity

Template:Npcnote

Keyvalues

Flags

Inputs

  • SetPickupTarget <string>
Sets the target entity for d0g to pickup.
  • StartCatchThrowBehavior <string>
Tells d0g to start playing with the player. You can pass in the name of the object you want him to play with otherwise he'll find the closes phys_object.
  • StopCatchThrowBehavior <string>
Stop the catch and throw behavior.
  • PlayerPickupObject
Tells d0g the physgun just picked up an object.
  • StartWaitAndCatch
Tells d0g to wait for the player to throw an object at him.
  • StopWaitAndCatch
Tells d0g to stop waiting for the player.
  • SetThrowArcModifier <float>
Used to pass in a modifier for d0g's object flight arc.
  • SetThrowTarget <string>
Set d0g's throw target (pass in !player if you want the player)

Outputs

  • OnDogThrow
Fires when d0g throws an object.
  • OnDogPickup
Fires when d0g picks up an object.
  • OnDogCatch
Fires when d0g catches an object.