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
  #41  
Old 03-09-2004, 11:46 AM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
Give 'NPC Programming.doc' (Its in your Graal folder) a good read, thats the only learning I ever had. I've asked Loriel some things a few times, but usually we either come to the conclusion its impossible, or to the conclusion that Graalscript has a bug :P (Or recently I'm asking NPC Server stuff.)

My point is, everyone has a document provided with the Graal documentation to give them enough scripting knowledge to be able to work stuff out on thier own.
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote
  #42  
Old 03-09-2004, 01:20 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by Polo
Give 'NPC Programming.doc' (Its in your Graal folder) a good read, thats the only learning I ever had. I've asked Loriel some things a few times, but usually we either come to the conclusion its impossible, or to the conclusion that Graalscript has a bug :P (Or recently I'm asking NPC Server stuff.)

My point is, everyone has a document provided with the Graal documentation to give them enough scripting knowledge to be able to work stuff out on thier own.
NSB, You read that?
__________________
V$:CONFL16T
Reply With Quote
  #43  
Old 03-09-2004, 01:26 PM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
NSB??? Is that a person or an acronym?
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote
  #44  
Old 03-09-2004, 05:30 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Newbie's scripter bible I would think
Reply With Quote
  #45  
Old 03-09-2004, 05:41 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by Loriel
Newbie's scripter bible I would think
Yup
Ask Mykel for this link, i'm sure he has it?..
__________________
V$:CONFL16T
Reply With Quote
  #46  
Old 03-09-2004, 06:16 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
I would think it is horribly outdated
Reply With Quote
  #47  
Old 03-09-2004, 06:18 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Use Dach's document, all nice and pretty and updated it is!
__________________
Reply With Quote
  #48  
Old 03-09-2004, 09:13 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by Kristi
Use Dach's document, all nice and pretty and updated it is!
(Post it) lol
__________________
V$:CONFL16T
Reply With Quote
  #49  
Old 03-09-2004, 10:15 PM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
Please learn the use of searching:

Dach's Commands.rtf: http://forums.graal2001.com/forums/s...threadid=39221

NSB (Planet Graal): http://www.geocities.com/ace2896
(I do believe it will be moving to a better host and domain soon)

Planet Graal also has a updated commands.rtf in the downloads section.
Reply With Quote
  #50  
Old 03-09-2004, 10:34 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by Riot
Please learn the use of searching:

Dach's Commands.rtf: http://forums.graal2001.com/forums/s...threadid=39221

NSB (Planet Graal): http://www.geocities.com/ace2896
(I do believe it will be moving to a better host and domain soon)

Planet Graal also has a updated commands.rtf in the downloads section.
Thanks :-)
__________________
V$:CONFL16T
Reply With Quote
  #51  
Old 03-10-2004, 06:16 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Oh yeah, I just added a "new" old and depricated command, spyfire! Hmm, playerprop #C5 doesn't work anymore, meh less to add :grin:

Edit: oman, don't use that! That's waaaay old, I've got it in my sig now... need to make it stand out more
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #52  
Old 03-14-2004, 09:05 AM
Kappa00p2p Kappa00p2p is offline
Registered theRapist
Kappa00p2p's Avatar
Join Date: Jul 2003
Posts: 198
Kappa00p2p is an unknown quantity at this point
Send a message via AIM to Kappa00p2p
could someone help me with this string im trying to make.

i cant make a string that goes like this

insertstring clientr.item01,10,Bow,bowimage.png,(none),0.5,0.4;

i would appreciate it if someone could help me with this
__________________

-Kappa
Reply With Quote
  #53  
Old 03-14-2004, 10:16 AM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Change insertstring to addstring
__________________
V$:CONFL16T
Reply With Quote
  #54  
Old 03-15-2004, 11:25 PM
Fhqwhgads Fhqwhgads is offline
Registered User
Join Date: Nov 2003
Location: Chicago
Posts: 57
Fhqwhgads is on a distinguished road
Send a message via AIM to Fhqwhgads
ok im just wondering, whats wrong with this? it think should work, but it doesnt work with #t(1), only with a specified number...
NPC Code:

if (playerchats && startswith(/add,#c)){
tokenize #c;
setstring client.something,#v(strtofloat(#s(client.something ))+#t(1));
}

Reply With Quote
  #55  
Old 03-16-2004, 01:12 AM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by Fhqwhgads
ok im just wondering, whats wrong with this? it think should work, but it doesnt work with #t(1), only with a specified number...
You also need strtofloat around #t(1).
__________________
Kat
Reply With Quote
  #56  
Old 03-16-2004, 02:16 AM
Fhqwhgads Fhqwhgads is offline
Registered User
Join Date: Nov 2003
Location: Chicago
Posts: 57
Fhqwhgads is on a distinguished road
Send a message via AIM to Fhqwhgads
how would u do that though?
Reply With Quote
  #57  
Old 03-16-2004, 03:25 AM
Fhqwhgads Fhqwhgads is offline
Registered User
Join Date: Nov 2003
Location: Chicago
Posts: 57
Fhqwhgads is on a distinguished road
Send a message via AIM to Fhqwhgads
Ok nvm i read it wrong the first time.. I got it now, thanks!
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 10:49 PM.


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