AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   A question about NPC movement (https://forums.alliedmods.net/showthread.php?t=222778)

wgwgkg 08-06-2013 12:34

A question about NPC movement
 
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?


All times are GMT -4. The time now is 15:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.