Zombie to crash wooden boards Created 18 years ago2006-01-15 13:46:49 UTC by gordonfreeman gordonfreeman

Created 18 years ago2006-01-15 13:46:49 UTC by gordonfreeman gordonfreeman

Posted 18 years ago2006-01-15 13:46:49 UTC Post #158031
tried with scripted sentence but the zombie the boards didnt break when the npc hit them. anyone know how to do this correctly?
Posted 18 years ago2006-01-15 13:55:00 UTC Post #158032
I don't think NPC's can break things via scripts...You have to time it so the func_breakable breaks as the zombie hits it...Not sure though.
Habboi HabboiSticky White Love Glue
Posted 18 years ago2006-01-15 15:57:45 UTC Post #158047
If this was done in HL2 then decompile the map...
Habboi HabboiSticky White Love Glue
Posted 18 years ago2006-01-16 04:54:58 UTC Post #158090
it was done in HL but i can`t think of a time it happend in HL2.
THis is how i would do it.have a multi maneger target the script to make the zombie hit it. Count how long it takes from the start of the animation to the zombies claws hitting it. Give the boards a name.
Now tell the multi maneger to target the boards with a delay of the time you counted.
Posted 18 years ago2006-01-16 10:34:04 UTC Post #158099
Well actually I found a better solution.
npc_bullseye at the place where are the boards, ai_relations. to make zombie hate it -> destroys boards.
each board counts one to a maths_counter and when its enough the ai_relat. is killed so zombie goes on player
You must be logged in to post a response.