Npc dog: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Replaced content with "{{entity|npc_dog|type=e0|series=Half-Life 2}} frame|right|{{Autolang|Dog|ru=Пёс}} {{Multipage}} D")
Tag: Replaced
Line 1: Line 1:
{{lang|title=npc_dog}}
{{entity|npc_dog|type=e0|series=Half-Life 2}}
{{entity|npc_dog|type=e0|series=Half-Life 2}}
[[Image:D0g.jpg|frame|right|Dog]]
[[Image:D0g.jpg|frame|right|{{Autolang|Dog|ru=Пёс}}]]


'''Dog''' is one of the main characters introduced in Half-Life 2.  '''Dog''' can play fetch and pick up things.
{{Multipage}}
 
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]]


[[Category:Half-Life 2 NPCs|D]]
[[Category:Half-Life 2 NPCs|D]]

Revision as of 20:56, 8 June 2023

Template:Entity

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Template:Multipage