getting ai to come attack you

getting ai to come attack you

Re: getting ai to come attack you Posted by Kinnakor on Sat Jan 8th 2005 at 4:08am
Kinnakor
23 posts
Posted 2005-01-08 4:08am
Kinnakor
member
23 posts 2 snarkmarks Registered: Dec 7th 2004 Location: usa
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?
Re: getting ai to come attack you Posted by satchmo on Sat Jan 8th 2005 at 4:09am
satchmo
2077 posts
Posted 2005-01-08 4:09am
satchmo
member
2077 posts 1809 snarkmarks Registered: Nov 24th 2004 Occupation: pediatrician Location: Los Angeles, U.S.
Hmm, you must be doing something wrong. The default AI is set to attack the player.
Re: getting ai to come attack you Posted by Kinnakor on Sat Jan 8th 2005 at 4:38am
Kinnakor
23 posts
Posted 2005-01-08 4:38am
Kinnakor
member
23 posts 2 snarkmarks Registered: Dec 7th 2004 Location: usa
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 2005 at 4:40am
Joe-Bob
180 posts
Posted 2005-01-08 4:40am
Joe-Bob
member
180 posts 77 snarkmarks Registered: Dec 3rd 2004
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
Re: getting ai to come attack you Posted by satchmo on Sat Jan 8th 2005 at 4:42am
satchmo
2077 posts
Posted 2005-01-08 4:42am
satchmo
member
2077 posts 1809 snarkmarks Registered: Nov 24th 2004 Occupation: pediatrician Location: Los Angeles, U.S.
Joe-Bob, you beat me to it (perhaps by one second).
Re: getting ai to come attack you Posted by Kinnakor on Sat Jan 8th 2005 at 5:19am
Kinnakor
23 posts
Posted 2005-01-08 5:19am
Kinnakor
member
23 posts 2 snarkmarks Registered: Dec 7th 2004 Location: usa
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 2005 at 5:22am
sXenoG
49 posts
Posted 2005-01-08 5:22am
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
u could prolly have a trigger once that the person walks thru or spawns in that triggersw hat u want :smile:
Re: getting ai to come attack you Posted by Joe-Bob on Sat Jan 8th 2005 at 6:17am
Joe-Bob
180 posts
Posted 2005-01-08 6:17am
Joe-Bob
member
180 posts 77 snarkmarks Registered: Dec 3rd 2004
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
Re: getting ai to come attack you Posted by Kinnakor on Sat Jan 8th 2005 at 6:43am
Kinnakor
23 posts
Posted 2005-01-08 6:43am
Kinnakor
member
23 posts 2 snarkmarks Registered: Dec 7th 2004 Location: usa
thanks
Re: getting ai to come attack you Posted by hl2modder_135 on Tue Jun 27th 2006 at 3:20pm
hl2modder_135
12 posts
Posted 2006-06-27 3:20pm
12 posts 21 snarkmarks Registered: Jun 22nd 2006 Location: USA
that website link doesnt even work!!!!!
Re: getting ai to come attack you Posted by Naklajat on Tue Jun 27th 2006 at 10:23pm
Naklajat
1137 posts
Posted 2006-06-27 10:23pm
Naklajat
member
1137 posts 384 snarkmarks Registered: Nov 15th 2004 Occupation: Baron Location: Austin, Texas
Re: getting ai to come attack you Posted by hl2modder_135 on Thu Jun 29th 2006 at 4:13am
hl2modder_135
12 posts
Posted 2006-06-29 4:13am
12 posts 21 snarkmarks Registered: Jun 22nd 2006 Location: USA
oh thank you