Ai goal lead weapon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 27: Line 27:
==Inputs==
==Inputs==


* {{i leadgoalbase}}
* {{I LeadGoalBase}}


==Outputs==
==Outputs==

Revision as of 19:30, 19 January 2009

Template:Wrongtitle

Entity Description

AI Goal Lead (Weapon). A version of the ai_goal_lead entity that requires the player to have the specified weapon before the Actor(s) will lead the player to their target.

Keyvalues

<pointentityclass> Weapon Name
  • MissingWeaponConceptModifier
<string> Missing weapon concept modifier
  • SearchType
<choices> How to search for the entities using the actor.
Literal Value Description
0 Entity name
1 Classname

Flags

  • AI_LeadGoal:
  • 1: No def success
  • 2: No def failure
  • 4: Use goal facing
Todo: Clarify what these do?

Inputs

  • AI_LeadGoal:
SetSuccess
Notify success of leading. Not required, use only if the standard code for detecting success does not meet your needs or fails.
SetFailure
Notify failure of leading.
Note.pngNote:Not implemented.

Outputs