Graal Forums

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

Polo 03-09-2004 11:46 AM

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.

WanDaMan 03-09-2004 01:20 PM

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?

Polo 03-09-2004 01:26 PM

NSB??? Is that a person or an acronym?

Loriel 03-09-2004 05:30 PM

Newbie's scripter bible I would think

WanDaMan 03-09-2004 05:41 PM

Quote:

Originally posted by Loriel
Newbie's scripter bible I would think
Yup :)
Ask Mykel for this link, i'm sure he has it?..

Loriel 03-09-2004 06:16 PM

I would think it is horribly outdated :(

Kristi 03-09-2004 06:18 PM

Use Dach's document, all nice and pretty and updated it is!

WanDaMan 03-09-2004 09:13 PM

Quote:

Originally posted by Kristi
Use Dach's document, all nice and pretty and updated it is!
(Post it) lol

Riot 03-09-2004 10:15 PM

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.

WanDaMan 03-09-2004 10:34 PM

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 :-)

Dach 03-10-2004 06:16 AM

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

Kappa00p2p 03-14-2004 09:05 AM

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

WanDaMan 03-14-2004 10:16 AM

Change insertstring to addstring

Fhqwhgads 03-15-2004 11:25 PM

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));
}


-Ramirez- 03-16-2004 01:12 AM

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).

Fhqwhgads 03-16-2004 02:16 AM

how would u do that though?

Fhqwhgads 03-16-2004 03:25 AM

Ok nvm i read it wrong the first time.. ;) I got it now, thanks!


All times are GMT +2. The time now is 11:39 PM.

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