Npc dog

From Valve Developer Community
Revision as of 17:27, 11 July 2005 by Ts2do (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

Entity Name: npc_dog

d0g: the loving and caring head crushing Alyx companion.

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

Keyvalues

Flags

Inputs

  • SetPickupTarget <string>
Sets the target entity for dog 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 dog throws an object.
  • OnDogPickup
Fires when dog picks up an object.
  • OnDogCatch
Fires when dog catches an object.