Thread: Question =)
View Single Post
  #6  
Old 05-23-2002, 10:18 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: Question =)

Quote:
Originally posted by -ZstYleZ-
Hmm a little Question =))
First : I'm new here (i'm Sir Souldrinker of Pagan)
So and the question :
Can tell me someone the p2p script commands (look : putnpc2 etc.)

And to Stefan :
Make that all can use in the editor punpc2
and update the commands.rtf
How could npc server commands work offline on the editor? The commands need to run off of some kindof database
here are some serversided commands:
addguildmember guild,account,nickname;
removeguilemember guild,account;
removeguild guild;

with (extension)
extensions for with:
getplayer(account)
allplayers[index]
players[index]
npcs[index] (I think)

there are also more type or prefixes for strings
client. - saves to the client
this. - saves to the npc
level. - saves to the level
clientr. - saves to the client and can only be wrote on by a serversided script
serverr - same as a server string but can only be wrote on by a serversided script
sendtorc test; sends text to the RC
sendtonc text; sends text to the nc
putnpc2 x,y{script};
noplayeronwall; (disables the player for being a wall for the npc)
canwarp; (allows an npc to warp if it knows where its going)
canwarp2; (allows a randomly moving npc to warp)
cannotwarp;
cannotwarp2; (not sure if this exists)
warpto levelname,x,y; (warps a database npc that can warp)
join classname; inserts a class thats in the database into the script
there are more that I just dont feel like listing but this list should keep you busy enough
Reply With Quote