Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 23.04.2006, 15:37   #3
Xelat
Архивный участник
 
Join Date: Apr 2006
Posts: 70
Default Re: 2 Questions

Quote:
Originally Posted by humordwarf
Quote:
Originally Posted by Xelat
1. Anyone knows all math functions of AI in NASC e.g. sqrt and etc? (symbol ^ is xor)
2. I making moving NPC's, but have a problem! When no one of players don't see the NPC, he will stoops and no making next movetodesire event, or not finish current. How to fix this?
1. % is mod :wink:
2. dont use DoNothingDesire, use AddTimer inside CREATED and TIMER_FIRED events, and inside TIMER_FIRED use your MoveTo stuff
I already try this, but no have other results!

I say more!
NPC stops only on finish point of movetodesire, not on path. When NPC is stopped, and I going to NPC, when I see NPC, he's continue moving!
Strange system, but maybe it's made to decrease server loading.
Xelat is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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. The time now is 20:15.