Zombie attack on fence (Passing an entity through a trigger)

Parsnip

Newbie
Joined
Apr 15, 2008
Messages
14
Reaction score
0
I've set up a scene in which zombies wander towards a base which is surrounded by a fence (they are spawned by template makers and aiscripted_schedules send them towards info_targets). This works fine and looks really cool, but I want to add another level of immersion to my map by making the zombies attack the fence if they reach it.

I thought the easiest way to do this would be to have them just fire off some animations if they make it to the fence without dying, is there a way of setting up a trigger which uses the entity which triggers (a zombie) it as the Target entity? Because there could be any number of zombies which wander into this info_target, and they have different names.

**EDIT**
I should say that I want to know what I need to put in the 'Target entities named' box of my trigger in order to affect whoever walks in. Something like 'entering_object'. There must be a way to do this.
 
Back
Top