How do u get zombies to awake and attack

nX1

Newbie
Joined
Nov 27, 2004
Messages
67
Reaction score
0
ive been trying to figure it out for hours. What trigger do i use. what inputs/outputs do i need. HELP!!!!!!!!!
 
Place a zombie near where you want him to lay and add a scripted_sequence entity where you want him to lay. Make sure to give the zombie and sequence a name, like zombwake1 and scriptrise1. Go into the scripted sequences properties and set the target npc to your zombie. Set the pre action idle animation to slump_b and the action animation to slumprise_b. Go into the flags for the script and check only these:
Start on spawn
No intteruptions
override AI


Now creat a brush for where you want the player to be able to activate him. So when he touches the brush, the zomb will wake up. After you have created it, Give it the texture of no draw. Do this by typing tools in the filter. Now press ctrl+T on the brush and select its class to triger_once. Go to outputs on the trigger and press add. set these options:
MyOutputNamed: OnStartTouch
Target Entitys named: YourScriptname
Via this imput: BeginSequence
Check fire once only. He should now wake up and attack when you enter that trigger. Hope this helps!
 
thanks, but im havin a problem, there was an error while saving i dont know why
 
well, there is a problem, the zombie gets up reall quick then lies back down, and doesnt get up again
 
i think the error was hammer being stupid, i dont know when i start the map, the zombie is standing, then he sits down really fast and doesnt get up.
 
got it to work
thanks man appreciate it, the problem was that i did not have "NPCs and Clients" checked in the Flags tab of the Trigger
 
Back
Top