Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Question =) (https://forums.graalonline.com/forums/showthread.php?t=29840)

-ZstYleZ- 05-23-2002 07:22 PM

Question =)
 
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

BBflat 05-23-2002 08:04 PM

Bah. I thought there was a file in the Graal folder with all the P2P commands. I'm at a school computer right now, but I'm pretty sure there is such a file... I think this has already been asked about 20 times on this forum, so if you don't find the file, just do a search for it.

Despo1 05-23-2002 08:19 PM

argz come to atlantis and i will send u the npcserver.doc and u can look at the thread "Scripting Document" they r alle client/serverside comments and bleh...u can update your commands.rtf with word :)

-ZstYleZ- 05-23-2002 08:24 PM

yes i know it all =) k i come

Projectshifter 05-23-2002 08:38 PM

These type of threads have been SERIOUSLY done-over and beaten w/ a stick after it has been dead for over 3 years now. =) he he. I think just to please everyone I am going to update the commands.rtf, fix some typo's, add the new commands and such. It shouldn't take too long...
---Shifter

Python523 05-23-2002 10:18 PM

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

user13-xo 07-16-2002 01:32 PM

with (extension)
extensions for with:
getnpc(db npc name)


All times are GMT +2. The time now is 04:17 AM.

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