ai_goal_throw_prop

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
CAI_Goal_Throw_Prop
CAI_GoalEntity
CBaseEntity
Ai goal standoff.png

ai_goal_throw_prop is a point entity available in Black Mesa Black Mesa. This entity forces npc_alien_controller to throw specified physics prop when activated. For npc_xontroller, it can be done by using input. This entity used once in bm_c3a2i for nothing.



Keyvalues

Actor(s) to affect (actor) <target_name_or_class>
Entity name or classname (works only with npc_alien_controller) to affect.
Search Type (searchtype) <choices>
How to search for the entities using the targetname.
  • 0: Entity Name
  • 1: Classname
Start Active (startactive) <choices>
How to search for the entities using the targetname.
  • 0: No
  • 1: Yes
Physics Prop Name (propname) <string>
Name of the physics prop to throw.

Inputs

Activate <void>
Start throwing the prop.
UpdateActors <void> !FGD
Update actors.
Deactivate <void>
Stop throwing the prop.