Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-23-2002, 07:22 PM
-ZstYleZ- -ZstYleZ- is offline
Registered User
Join Date: May 2002
Posts: 4
-ZstYleZ- is on a distinguished road
Red face 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
__________________

Reply With Quote
  #2  
Old 05-23-2002, 08:04 PM
BBflat BBflat is offline
Registered User
BBflat's Avatar
Join Date: Apr 2002
Location: United States of America
Posts: 573
BBflat is on a distinguished road
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.
__________________
I am a .sig virus. Please put me in your .sig so I can continue to replicate.
Reply With Quote
  #3  
Old 05-23-2002, 08:19 PM
Despo1 Despo1 is offline
Registered User
Join Date: May 2002
Location: G3rM4nY
Posts: 38
Despo1 is on a distinguished road
Send a message via AIM to Despo1
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
__________________
Bl4h Si6n4tur3s sUx3n
Reply With Quote
  #4  
Old 05-23-2002, 08:24 PM
-ZstYleZ- -ZstYleZ- is offline
Registered User
Join Date: May 2002
Posts: 4
-ZstYleZ- is on a distinguished road
yes i know it all =) k i come
__________________

Reply With Quote
  #5  
Old 05-23-2002, 08:38 PM
Projectshifter Projectshifter is offline
The David
Projectshifter's Avatar
Join Date: Apr 2002
Location: USA
Posts: 912
Projectshifter is an unknown quantity at this point
Send a message via ICQ to Projectshifter Send a message via AIM to Projectshifter Send a message via MSN to Projectshifter Send a message via Yahoo to Projectshifter
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
__________________
Who has time for life these days?
Reply With Quote
  #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
  #7  
Old 07-16-2002, 01:32 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
with (extension)
extensions for with:
getnpc(db npc name)
Reply With Quote
Reply


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 05:49 PM.


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