PDA

View Full Version : Help with triggers


seanie rocks
01-30-2009, 08:19 PM
I used the search and couldn't find anything on inserting a panic event trigger in a map. I'm working on one and I don't know what to use. Can anyone help me out? I want to use a crescendo/panic event where when survivors walk past a certain area they get swarmed.

Ajax
01-30-2009, 09:17 PM
You need to have an info_director in your map, and it must have a name. You can then trigger your panic events through the director. This (http://forums.l4dmaps.net/showthread.php?t=210) tutorial gives you everything you need from start to finish of a basic map. The panic event stuff is at the bottom.

Failfox
01-30-2009, 11:07 PM
But actually you can't make the nav correctly like he sais on that tutorial.

You will have to type these to console:
1. sv_cheats 1
2. nav_mark_walkable
3. nav_generate
4. nav_analyze
5. sv_cheats 0

NOTE: You can do it also like this:
1. sv_cheats1; nav_mark_walkable; nav_generate
2. nav_analyze; sv_cheats 0
Because it will need some time to generate the nav and you can't give the console a command to analyze it if it's generating it.

seanie rocks
01-31-2009, 12:16 PM
Awesome. Thanks a lot guys.