Triggering NPC Scripted Sequences
Post Reply
Quote
Re: Triggering NPC Scripted Sequences
Posted by Stallion001 on Thu Dec 30th at 3:51am 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..

[addsig]




Quote
Re: Triggering NPC Scripted Sequences
Posted by Stallion001 on Thu Dec 30th at 5:47am 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..)




Quote
Re: Triggering NPC Scripted Sequences
Posted by Guessmyname on Thu Dec 30th at 11:15am 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





Quote
Re: Triggering NPC Scripted Sequences
Posted by Stallion001 on Thu Dec 30th at 12:28pm 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

(ps: Post the link under this thread when u do have your tutorial completed)




Quote
Re: Triggering NPC Scripted Sequences
Posted by Guessmyname on Thu Dec 30th at 4:13pm 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






Post Reply