Cleanup is going to take awhile, so the site is back up but editing has been disabled.

Ai goal lead

From HalfLife 2 Knowledge Base

Jump to: navigation, search

Contents

ai_goal_lead

Half-Life 2 Point Entity


description

AI Goal Lead


properties

  • Actor(s) to affect actor(target_name_or_class)
  • Target Entity goal(string)
  • Point to wait at if the target's not visible. WaitPointName(target_destination)
  • Wait until player gets this close. WaitDistance(float)
  • Lead Distance. LeadDistance(float) - default: 64
    The player is considered to be lagging if he's beyond this distance.
  • Run instead of Walk Run(choices)
    • "0" - No
    • "1" - Yes
  • Retrieve player? Retrieve(choices)
    1
    • 0 - No, just idle and wait
    • 1 - Yes, move to retrieve
  • Attract player concept modifier AttractPlayerConceptModifier(string)
  • Player wait over concept modifier WaitOverConceptModifier(string)
  • Arrival concept modifier ArrivalConceptModifier(string)
  • Post-arrival concepts modifier PostArrivalConceptModifier(string)
  • Success concept modifier SuccessConceptModifier(string)
  • Failure concept modifier FailureConceptModifier(string)
  • Search Type SearchType(choices) - default: How to search for the entities using the targetname.
    • 0 - Entity Name
    • 1 - Classname


spawn flags

  • 1: No def success - default: OFF
  • 2: No def failure - default: OFF
  • 4: Use goal facing - default: ON


inputs

  • Kill(void)
    Removes this entity from the world.
  • KillHierarchy(void)
    Removes this entity and all its children from the world.
  • AddOutput(string)
    Adds an entity I/O connection to this entity. Format
  • FireUser1(void)
    Causes this entity's OnUser1 output to be fired.
  • FireUser2(void)
    Causes this entity's OnUser2 output to be fired.
  • FireUser3(void)
    Causes this entity's OnUser3 output to be fired.
  • FireUser4(void)
    Causes this entity's OnUser4 output to be fired.
  • Activate(void)
    Begin the leading behavior
  • Deactivate(void)
    Stop the leading behavior
  • SetSuccess(void)
    Notify success of leading
  • SetFailure(void)
    Notify failure of leading

outputs

  • OnUser1(void)
    Fired in response to FireUser1 input.
  • OnUser2(void)
    Fired in response to FireUser2 input.
  • OnUser3(void)
    Fired in response to FireUser3 input.
  • OnUser4(void)
    Fired in response to FireUser4 input.
  • OnArrival(void)
    Fires when NPC reaches the lead point
  • OnArrivalDone(void)
    Fires when NPC has played out any arrival speech
  • OnSuccess(void)
    Fires when NPC achieves the goal
  • OnFailure(void)
    Fires when NPC fails to achieves the goal
  • OnDone(void)
    Fires when NPC completes behavior (any post-success or fail acting is complete)

related tutorials

Submit your tutorial for ai_goal_lead











[l_sp_31] Neil Young Live at Massey Hall Billy Currington Doing Something Right Rodney Atkins If You are Going Through Hell Brad Paisley Time Well Wasted Stevie Nicks Crystal Visions The Very Best of Stevie Nicks Dixie Chicks Taking the Long Way Jennifer Lopez Como Ama una Mujer Dierks Bentley Long Trip Alone Elliott Yamin Elliott Yamin Gym Class Heroes As Cruel as School Children Buckcherry 15 Vicente Fernandez La Historia de un Idolo Ciara The Evolution Donny Osmond Love Songs of the 70s The Fall Of Troy Manipulator Killers Sams Town Keith Urban Love, Pain and the Whole Crazy Thing Young Jeezy The Inspiration Thug Motivation 102 Lily Allen Alright Still Chevelle Vena Sera 30 seconds to Mars A Beautiful Lie Aaron Shust Anything Worth Saying The Red Jumpsuit Apparatus Dont You Fake It Angelique Kidjo Djin Djin MIMS Music Is My Savior Bright Eyes Cassadaga Soundtrack Disney Mania 5 Breaking Benjamin Phobia Josh Groban Awake Sugarland Enjoy the Ride Larry The Cable Guy The Right to Bare Arms John Mayer Continuum Il Divo Siempre Hilary Duff Dignity Miranda Lambert Crazy Ex Girlfriend Blake Shelton Pure BS Robin Thicke The Evolution of Robin Thicke

Personal tools