Ai goal throw prop: Difference between revisions
Jump to navigation
Jump to search
MyGamepedia (talk | contribs) No edit summary |
MyGamepedia (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{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 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. | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Actor(s) to affect|intn=actor|target_name_or_class|Entity name or [[classname]] (works only with {{ent|npc_alien_controller}}) to affect.}} | {{KV|Actor(s) to affect|intn=actor|target_name_or_class|Entity name or [[classname]] (works only with {{ent|npc_alien_controller}}) to affect.}} | ||
{{KV|Search Type|intn=searchtype|choices|How to search for the entities using the targetname. | {{KV|Search Type|intn=searchtype|choices|How to search for the entities using the targetname. | ||
Line 19: | Line 18: | ||
== Inputs == | == Inputs == | ||
{{I|Activate|param=void| | {{I|Activate|param=void|Start throwing the prop.}} | ||
{{I|Deactivate|param=void| | {{I|UpdateActors|param=void|Update actors.|nofgd=1}} | ||
{{I|Deactivate|param=void|Stop throwing the prop.}} |
Latest revision as of 12:32, 26 May 2025
![]() |
---|
CAI_Goal_Throw_Prop |

ai_goal_throw_prop
is a point entity available in 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.