Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-28-2001, 05:51 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
Move command

I understand this command almost completely. The only thing I dont understand is the cachtype. It doesnt seem to make a difference offline, but im sure online it does something. Can anyone explain what this is used for? like, for onwall check, you can have 4,5, or 6. Does this determine whether it is sent to the server or something?

Thanx.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #2  
Old 11-28-2001, 06:05 AM
wark2 wark2 is offline
Registered User
Join Date: Oct 2001
Location: Canada
Posts: 306
wark2 is on a distinguished road
Send a message via AIM to wark2 Send a message via Yahoo to wark2
Dunno.... i think it does i guess? (ME STUPID AT 'MOVE')
__________________
- Legend
Reply With Quote
  #3  
Old 11-28-2001, 06:43 AM
Andor_NPC-Admin1 Andor_NPC-Admin1 is offline
Registered User
Join Date: Nov 2001
Posts: 69
Andor_NPC-Admin1 is on a distinguished road
from newfeatures text:
- cachingmode:
- 0: previous movements will be finished immediatelly
- 1: movements will be cached, the previous movements
will only be finished when the cache is too large
(distance to go >5);
this caching can be used on server-side npcs to
make the movement look like non-laggy even when
there are little delays sometimes
- 2: the movement will just be appended to the movement
list; you can add up to 100 movements


When cachingmode is 0, then a previous move command that isn't finished moving the NPC will be finished, and replaced by the new move command.

When cachingmode is 1, then a previous move command that isn't finished moving the NPC with a distance greater than 5 to its destination will be finished, and replaced by the new move command. But, if the distance left is less than 5, then the new move command will go when the previous move is finished moving.

When cachingmode is 2, then the new move command will go when the previous move is finished moving. You can have no more than 100 appends, or else the oldest move command will be finished immediately.
Reply With Quote
  #4  
Old 11-28-2001, 07:16 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
okay

I think Im getting this. Thanx man

It has to deal with previous moves.
I really appreciate the help!
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
Reply

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 +2. The time now is 07:45 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.