Triggering NPC Scripted Sequences

Triggering NPC Scripted Sequences

Re: Triggering NPC Scripted Sequences Posted by Stallion001 on Thu Dec 30th 2004 at 3:51am
Stallion001
10 posts
Posted 2004-12-30 3:51am
10 posts 1 snarkmarks Registered: Dec 30th 2004
Well, im making a small map, just to test triggered NPC scripts...

What i mean by triggered NPC scripts is that when i touch the trigger area, i would like the NPC's (citizens-rebels) to go to a certain spot and take cover...

well, unfortunately for 4 hours i was messing with hammer and its output settings, and yet to have come across a successful outcome..

So, this is how i set my trigger_multiple:

My output named: OnStartTouch
Targets entities named: citizens (My Group of NPC's)
Via this input: Wake

My citizens NPC Group Entity:

My output named: OnWake
Targets entities named: cz1 (My path corner)
Via this input: SetNextPathCorner (I don't know what else to use)

See, the thing is, once i step into the trigger i want them to move... well, i dont know what "Via This Input" to do... i mean, theres so many, and the only obvious one to choose is set nextpathcorner, in my opinion... What do you guys suggest?

Thanks in advance..
Re: Triggering NPC Scripted Sequences Posted by Stallion001 on Thu Dec 30th 2004 at 5:47am
Stallion001
10 posts
Posted 2004-12-30 5:47am
10 posts 1 snarkmarks Registered: Dec 30th 2004
--Bumped--

Come on guys.. i need some help w/ this.. please respond

(please dont force me to go on Steam's forums, oh dear god..)
Re: Triggering NPC Scripted Sequences Posted by Guessmyname on Thu Dec 30th 2004 at 11:15am
Guessmyname
342 posts
Posted 2004-12-30 11:15am
342 posts 173 snarkmarks Registered: Dec 6th 2004
You have to trigger the SCRIPTED SEQUENCE, not the npcs! And I'd advise you to use a trigger once for that too

EDIT: I'm going to mention this in my tutorial
Re: Triggering NPC Scripted Sequences Posted by Stallion001 on Thu Dec 30th 2004 at 12:28pm
Stallion001
10 posts
Posted 2004-12-30 12:28pm
10 posts 1 snarkmarks Registered: Dec 30th 2004
GREATLY APPRECIATE IT Man.. i have to see this tutorial.. you know you are the only one to respond to this, on 3 diff forums.. (this one, valve collective, and steam itself) good job..

But id love to see the tutorial :smile:

(ps: Post the link under this thread when u do have your tutorial completed)
Re: Triggering NPC Scripted Sequences Posted by Guessmyname on Thu Dec 30th 2004 at 4:13pm
Guessmyname
342 posts
Posted 2004-12-30 4:13pm
342 posts 173 snarkmarks Registered: Dec 6th 2004
My tut is already here! Look in the HL2 map editing tuts, entities.

EDIT: Linky: http://www.snarkpit.com/editing.php?page=tutorials&game=HL2&id=138