Ai goal throw prop: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{this is a|point entity|name=ai_goal_throw_prop|sprite=ai_goal_standoff.png|game=Black Mesa}} This entity forces {{ent|npc_alien_controller}} to throw specified [[Prop physics|physics prop]]. For {{ent|npc_xontroller}}, it can be done by using input. This entity used once in <code>bm_c3a2i</code> for nothing.
{{CDA|CAI_Goal_Throw_Prop|CAI_GoalEntity|CBaseEntity|}}
{{this is a|point entity|name=ai_goal_throw_prop|sprite=ai_goal_standoff.png|game=Black Mesa}} This entity forces {{ent|npc_alien_controller}} to throw specified [[Prop physics|physics prop]] when activated. For {{ent|npc_xontroller}}, it can be done by using input. This entity used once in <code>bm_c3a2i</code> for nothing.
 
 


{{CDA|CAI_Goal_Throw_Prop|CAI_GoalEntity|CBaseEntity|}}


== Keyvalues ==
== Keyvalues ==

Latest revision as of 12:32, 26 May 2025

C++ 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.