Hammerwatch Forum

Custom mapping and Mods => Editor Discussion => Topic started by: MadMan on June 13, 2015, 08:19:35 PM

Title: Make npc's stand still when you run into them.
Post by: MadMan on June 13, 2015, 08:19:35 PM
So, what i am trying to do, is have an npc stand in the way of an entrance, but then he will physically move out of the way (By walking) using the MoveAI. It works, but the problem is, i can simply run into the npc, and push him out of the way. Is there a way which i can make sure that i cannot push the NPC out of the way, and make him stand still when i run into him?












Psst, i hope this comunity is alive still :P


Thanks
Title: Re: Make npc's stand still when you run into them.
Post by: Hipshot on June 16, 2015, 10:21:02 AM
I would place a static collision in the way before. Like, hide a piece of wall or something there, then destroy the wall when needed =D