View Single Post
  #2  
Old 12-17-2001, 01:37 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Re: NPCServer Commands and offline mode

Quote:
Originally posted by Faheria_GP2
okay, I am getting awfully tired of trying to debug my scripts in offline mode and having NPCServer commands, so here is my list of how each NPCServer command should be delt with in offline mode

with (getplayer()) {} = should operate if the account matches the player's

this.strings = simply just add them (this is obviously possible)

canwarp,canwarp2,cannotwarp = these will be just dummy commands

join classname = again, a dummy command

warpto level,x,y = yet another dummy command

If these things were added to offline mode, it would be vast amounts of helpful in testing NPCServer scripts in offline mode
well if I remeber correctly you can say
NPC Code:

if(created){
followplayer;
canwarp;
}



then it will follow you to any level (but this code will only work offline)
__________________
Thanks,
-KJL