Quote:
Originally Posted by Bugsy
Is bRunning definitely false?
g_PlayerID and ent are the correct player ID's?
Did you identify which of fm_is_visible(), fm_is_in_viewcone, and is_wall_between_points() is not working as expected?
|
because it is like single player mode so I just store it in g_PlayerID so it easier to use. I get the id from ham spawn post and tried at other part, it work normally so I don't think it is the reason
bRunning was false at that time, when I run, the zombie did change state and chase. So it is nothing wrong with bRunning
is_wall_between_points work normally because of my previous code, it did not dectect when I behind object.
both fm_is_visble and fm_is_in_viewcone didn't work when I tested it previously. Either separated and together
__________________