Ai goal throw prop: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 19: Line 19:


== Inputs ==  
== Inputs ==  
{{I|Activate|param=void|Begin contesting position.}}
{{I|Activate|param=void|Start throwing the prop.}}
{{I|Deactivate|param=void|Cease contesting position.}}
{{I|UpdateActors|param=void|Update actors.|nofgd=1}}
{{I|Deactivate|param=void|Stop throwing the prop.}}

Revision as of 12:22, 26 May 2025

Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
Ai goal standoff.png

ai_goal_throw_prop is a point entity available in Black Mesa Black Mesa. Initially, this entity should disable/enable prop throwing for npc_alien_controller. However, this entity doesn't work in any public version of the game (the mod version as well). Besides this, you can control the throwing mechanic via inputs and outputs from npc_xontroller and npc_alien_controller. Used once in bm_c3a2i and does nothing.

Represented by class CAI_Goal_Throw_Prop.

Black Mesa Level Creation

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

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.