Raised This Month: $ Target: $400
 0% 

A question about NPC movement


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wgwgkg
Member
Join Date: May 2011
Old 08-06-2013 , 12:34   A question about NPC movement
Reply With Quote #1

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?
wgwgkg is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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