Page 1 of 1

AI walking thorugh walls???

Posted: Wed Jul 30, 2003 3:09 pm
by Wilson
Ok, with the help from parts and a few other people in the scripting forum i managed to get the AI following me sorted CHEERS
Now running around on my map i go to attack the offivers guard and he jumps out of the wall from the building he is in, then i kill him and the officer to be killed jumps out from his room outside??

Anyone know why and how i can fix this?

Posted: Wed Jul 30, 2003 3:20 pm
by jv_map
I think this happens when is a cover node (especially a corner node) near a wall, whereas on the other side of the wall is a route.

A bit like this, p is pathnode, c is corner node, | is wall:

Code: Select all

p--|->c
    |
    |
p  |  p
(sorry for my poor ASCII art :oops: )
at the ---> an AI is likely to walk through the wall. Simply move the cover node away a bit and you should be fine.

Posted: Wed Jul 30, 2003 4:08 pm
by Wilson
Ok cheers Jv i will try that cos my nodes are close to all the walls so
that will be it
cheers