I have written a NPC in cs1.6 recently but I got some problems. I hope someone can help me.
1.The npc cannot walk up the stairs.It always stuck in the lowest floor. How can I check if the npc is stucked by somethings?
2.It is very similar to problem one.The Npc can walking to the top from the slope , but it is stucked and cannot walk into the ground surface again
Example:
-------- (top ground surface)
- (slope Npc position) the npc stuck in here
- (slope)
- (slope)
--(the lowest ground surface)
How can I detect if the npc is stucked or not?
I have tried the same function in ZP but when the npc touch the ground it always show the npc is stucked!
How can I do?