Thread: 2 Questions
View Single Post
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