I'm using setorigin to move them up a bit every frame if the conditions are right and they are touching a certain brush, but I've added a trigger at the top of the wall to climb, which should make them stop climbing a wall, yet they keep flying up, why would the zombie not detect this trigger, but detect the first one?
The basic code is...
The triggers have collision detection.
If they hit a zombie, the climb trigger set the zombie's .climb variable to true
This is the part that doesn't work...
The stop climbing variable should set the zombie's .climb to false, so the zombie would stop climbing, but for some reason it doesn't even detect that it's hitting it, when it should.
Zombies part of the AI, if climb is TRUE, setorigin(self,self.origin + '0 0 8');
ran every frame ^^^
My guess is it has something to with setorigin.
previously I had just changed the origin
(eg self.origin = self.origin + 10;)
but that produced the weird result of the zombie flying up, yet it's bounding box would stay on the ground.
setorigin fixes this.
The zombie can be shot and killed as he is ascending, he just will not detect collision though.
Here are some screenshots, although I doubt they're going to help


Here's a zombie "hitting the triggers"

Here's a runaway zombie...
