Template:Archived Page History/Npc dog/en: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Language subpage}} <!-- Add the categories to the main page, not here --> '''Dog''' is one of the main characters introduced in Half-Life 2. '''Dog''' can play fetch and pi...")
 
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Language subpage}}
{{APH|npc_dog}}
<!-- Add the categories to the main page, not here -->
'''Dog''' is one of the main characters introduced in Half-Life 2.  '''Dog''' can play fetch and pick up things.
 
Dog does not have any battle AI, and therefore will simply run away when faced with enemies. All of Dog's battle scenes in Half-Life 2 were scripted.
 
{{NPCNote}}
 
==Keyvalues==
{{KV BaseNPC}}
 
==Flags==
{{Fl BaseNPC}}
 
==Inputs==
{{I BaseNPC}}
 
{{IO|SetPickupTarget|Sets the target entity for Dog to pickup.|param=target_destination}}
 
{{IO|StartCatchThrowBehavior|Tells Dog to start playing with the player. You can pass the name of the object you want him to play with, otherwise he'll just use the closest phys_object.|param=target_destination}}
 
{{IO|StopCatchThrowBehavior|Stop the catch and throw behavior.|param=target_destination}}
 
{{IO|PlayerPickupObject|Tells Dog the physgun just picked up an object.|}}
 
{{IO|StartWaitAndCatch|Tells Dog to wait for the player to throw an object at him.|}}
 
{{IO|StopWaitAndCatch|Tells Dog to stop waiting for the player.|}}
{{IO|SetThrowArcModifier|Used to pass in a modifier for Dog's object flight arc.|param=float}}
 
{{IO|SetThrowTarget|Set Dog's throw target (pass in !player if you want the player).|param=target_destination}}
 
{{IO|TurnBoneFollowersOff|Turn Dog's bone followers off.|}}
 
{{IO|TurnBoneFollowersOn|Turn Dog's bone followers on.|}}
 
==Outputs==
{{O BaseNPC}}
 
{{IO|OnDogThrow|Fires when Dog throws an object.|}}
 
{{IO|OnDogPickup|Fires when Dog picks up an object.|}}
 
{{IO|OnDogCatch|Fires when Dog catches an object.|}}
 
==See Also==
* [[Dog]]

Latest revision as of 14:24, 18 August 2024

Note.pngNote:Archived rest of page history of page npc_dog
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.