Combine Parsnip
Newbie
- Joined
- Dec 16, 2008
- Messages
- 2
- Reaction score
- 0
Hello everyone, I'm looking for advice on how to set up a scripted scene.
I'm currently building a mod (www.gregbdesign.co.uk/ld_cull.html), and a very important part of the game is a zombie attack on a rebel base, a bit like the infected attack on the army base in 28 Days Later (but much slower of course haha).
The problem is, the zombies don't seem to cooperate. The way I tried getting it to work was by having a trigger on the door leading to the building's roof. When the player steps into it, 3 NPC_makers activate and start pumping out zombies (1 making fast zombies). On each npc_maker there is an output saying:
onSpawn -> BeginSequence, where the sequence is just 2 scripted sequences, one near the spawn point and one near the rebel base, so that as soon as each zombie is created, it will wander towards the house where it's gunned down by rebels.
The first one created works fine, but after that they just stay at the spawn point. Am I even doing the right thing? Is there an entity which attracts NPCs that I can stick next to the base to draw all the zombies towards it?
I'm currently building a mod (www.gregbdesign.co.uk/ld_cull.html), and a very important part of the game is a zombie attack on a rebel base, a bit like the infected attack on the army base in 28 Days Later (but much slower of course haha).
The problem is, the zombies don't seem to cooperate. The way I tried getting it to work was by having a trigger on the door leading to the building's roof. When the player steps into it, 3 NPC_makers activate and start pumping out zombies (1 making fast zombies). On each npc_maker there is an output saying:
onSpawn -> BeginSequence, where the sequence is just 2 scripted sequences, one near the spawn point and one near the rebel base, so that as soon as each zombie is created, it will wander towards the house where it's gunned down by rebels.
The first one created works fine, but after that they just stay at the spawn point. Am I even doing the right thing? Is there an entity which attracts NPCs that I can stick next to the base to draw all the zombies towards it?