Npc dog: Difference between revisions
Jump to navigation
Jump to search
Note:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
mNo edit summary |
|||
Line 3: | Line 3: | ||
[[Image:dog_2.jpg|frame|right|d0g]] | [[Image:dog_2.jpg|frame|right|d0g]] | ||
d0g: the loving and caring head crushing Alyx companion. | |||
{{npcnote}} | {{npcnote}} | ||
Line 17: | Line 17: | ||
* '''SetPickupTarget <string>''' | * '''SetPickupTarget <string>''' | ||
: Sets the target entity for | : Sets the target entity for d0g to pickup. | ||
* '''StartCatchThrowBehavior <string>''' | * '''StartCatchThrowBehavior <string>''' | ||
Line 44: | Line 44: | ||
* '''OnDogThrow''' | * '''OnDogThrow''' | ||
: Fires when | : Fires when d0g throws an object. | ||
* '''OnDogPickup''' | * '''OnDogPickup''' | ||
: Fires when | : Fires when d0g picks up an object. | ||
* '''OnDogCatch''' | * '''OnDogCatch''' | ||
: Fires when | : Fires when d0g catches an object. | ||
[[Category:Entities]][[Category:NPCs]] | [[Category:Entities]][[Category:NPCs]] |
Revision as of 16:33, 24 July 2005
Entity Description
File:Dog 2.jpg
d0g
d0g: the loving and caring head crushing Alyx companion.

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.