Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   setstring q,playerrupees; (https://forums.graalonline.com/forums/showthread.php?t=13330)

Metal-Slug 09-30-2001 12:23 AM

setstring q,playerrupees;
 
whay doesnt setstring q,playerrupees; work? im trying to get the values of the players bombs, gralat, hearts and such for a player to show up in a sign, so im using say2, but it just shws up like this tetx: playerrupees;

Metal-Slug 09-30-2001 12:32 AM

what? there isnt any # things that are rupee/bomb/dart related

Metal-Slug 09-30-2001 12:36 AM

ok, i hope your not just saying this becasue i keep posting stuff here.........

Metal-Slug 09-30-2001 12:44 AM

yes, im thinking now you meant something allong the lines of Tokenize?

Metal-Slug 09-30-2001 12:54 AM

o, i see, i'm gonna find it, dont worry, then i'll learn more, and you guys (not kamu cause he is helping) will be sorry you didnt help me, MUHAHAHAHAHAHAHA

Metal-Slug 09-30-2001 12:56 AM

is it #v?

Metal-Slug 09-30-2001 01:08 AM

i did try it, and i posted that cause it didnt work and i thought maybe i set it up wrong

Metal-Slug 09-30-2001 01:22 AM

Quote:

Originally posted by Kaimetsu


How did you set it up? Did you put it in a big script or just make a little NPC to test it?

hehe. i show you
NPC Code:

// NPC made by Urond the Paladin
if (playerenters) {
toweapons *Stats;
}
if (weaponfired) {
setstring t,#a;
setstring q,playerrupees;
setstring w,playerbombs;
setstring e,playerdarts;
say2 Current Stats for: #s(t),
#bGralat: #v(q)
#bBombs: #v(w)
#bArrows: #v(e)
}


Metal-Slug 09-30-2001 01:36 AM

i think its cause im still not sure what im doing, lol

Metal-Slug 09-30-2001 01:50 AM

well, so i didnt even need the stupid setstring stuff at all?

Metal-Slug 09-30-2001 01:52 AM

YA, finally, i got it to work, *kisses kamu*

Metal-Slug 09-30-2001 02:11 AM

i think i should start calling you kame, insteda of kamu then, *is oging to figure out tokenize, see you in a year*

Metal-Slug 09-30-2001 02:41 AM

o b k bs

entravial 09-30-2001 10:51 AM

~AlphaFlame~

*taps red shoes together* Kaimetsu Kaimetsu Kaimetsu!!

*ends up in Script Monkey Land and immediatly gets attacked by rabid blue bummed monkies*

AAAAACCKKKK!!!

btedji 10-02-2001 03:40 AM

heres for whoever wanted to see the script:

NPC Code:

if (playerenters) {
toweapons *Stats;
}
if (weaponfired) {
say2 Current Stats for: #s(#a)),
#bGralat: #v(players[0].rupees)
#bBombs: #v(players[0].bombs)
#bArrows: #v(players[0].darts)
}



All times are GMT +2. The time now is 08:37 PM.

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