I am trying to make a singleplayer defense map for hl2, when the npcs spawn they just sit there, how do i make them come attack you after spawning?
1
Re: getting ai to come attack you
Posted by satchmo on Sat Jan 8th at 4:09am 2005

satchmo
member
2077 posts
396 snarkmarks
Registered: Nov 24th 2004
Location: Los Angeles, U.S.
Occupation: pediatrician
Posted by satchmo on Sat Jan 8th at 4:09am 2005
Hmm, you must be doing something wrong. The default AI is set to attack the player.
[addsig]
satchmo
member
2077 posts
396 snarkmarks
Registered: Nov 24th 2004
Location: Los Angeles, U.S.

Occupation: pediatrician
Re: getting ai to come attack you
Posted by Kinnakor on Sat Jan 8th at 4:38am 2005
Posted by Kinnakor on Sat Jan 8th at 4:38am 2005
they are too far away to see you, but i can't figure out how to make them come attack you anyways?
Re: getting ai to come attack you
Posted by Joe-Bob on Sat Jan 8th at 4:40am 2005
Posted by Joe-Bob on Sat Jan 8th at 4:40am 2005
If I get what you're saying, I think this tutorial should help.
http://www.snarkpit.com/editing.php?page=tutorials&game=HL2&id=144
http://www.snarkpit.com/editing.php?page=tutorials&game=HL2&id=144
Re: getting ai to come attack you
Posted by satchmo on Sat Jan 8th at 4:42am 2005

satchmo
member
2077 posts
396 snarkmarks
Registered: Nov 24th 2004
Location: Los Angeles, U.S.
Occupation: pediatrician
Posted by satchmo on Sat Jan 8th at 4:42am 2005
Joe-Bob, you beat me to it (perhaps by one second).
[addsig]satchmo
member
2077 posts
396 snarkmarks
Registered: Nov 24th 2004
Location: Los Angeles, U.S.

Occupation: pediatrician
Re: getting ai to come attack you
Posted by Kinnakor on Sat Jan 8th at 5:19am 2005
Posted by Kinnakor on Sat Jan 8th at 5:19am 2005
is there a way to do that with out the button?
Re: getting ai to come attack you
Posted by sXenoG on Sat Jan 8th at 5:22am 2005
Posted by sXenoG on Sat Jan 8th at 5:22am 2005
u could prolly have a trigger once that the person walks thru or spawns in that triggersw hat u want 
Re: getting ai to come attack you
Posted by Joe-Bob on Sat Jan 8th at 6:17am 2005
Posted by Joe-Bob on Sat Jan 8th at 6:17am 2005
Exactly. Replace the button with a trigger that does the same thing.
If you're lost, read this:
http://www.valve-erc.com/srcsdk/Levels/entityio.html
If you're lost, read this:
http://www.valve-erc.com/srcsdk/Levels/entityio.html
Re: getting ai to come attack you
Posted by hl2modder_135 on Tue Jun 27th at 3:20pm 2006
Posted by hl2modder_135 on Tue Jun 27th at 3:20pm 2006
that website link doesnt even work!!!!!
Re: getting ai to come attack you
Posted by Naklajat on Tue Jun 27th at 10:23pm 2006

Naklajat
member
1137 posts
207 snarkmarks
Registered: Nov 15th 2004
Location: Austin, Texas
Occupation: Baron
Posted by Naklajat on Tue Jun 27th at 10:23pm 2006
Naklajat
member
1137 posts
207 snarkmarks
Registered: Nov 15th 2004
Location: Austin, Texas
Occupation: Baron
=o
Re: getting ai to come attack you
Posted by hl2modder_135 on Thu Jun 29th at 4:13am 2006
Posted by hl2modder_135 on Thu Jun 29th at 4:13am 2006
oh thank you
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0093 seconds.

Snarkpit v6.1.0 created this page in 0.0093 seconds.


