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 09-30-2001, 12:23 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
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;
Reply With Quote
  #2  
Old 09-30-2001, 12:32 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
what? there isnt any # things that are rupee/bomb/dart related
Reply With Quote
  #3  
Old 09-30-2001, 12:36 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
ok, i hope your not just saying this becasue i keep posting stuff here.........
Reply With Quote
  #4  
Old 09-30-2001, 12:44 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
yes, im thinking now you meant something allong the lines of Tokenize?
Reply With Quote
  #5  
Old 09-30-2001, 12:54 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
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
Reply With Quote
  #6  
Old 09-30-2001, 12:56 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
is it #v?
Reply With Quote
  #7  
Old 09-30-2001, 01:08 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
i did try it, and i posted that cause it didnt work and i thought maybe i set it up wrong
Reply With Quote
  #8  
Old 09-30-2001, 01:22 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
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)
}

Reply With Quote
  #9  
Old 09-30-2001, 01:36 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
i think its cause im still not sure what im doing, lol
Reply With Quote
  #10  
Old 09-30-2001, 01:50 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
well, so i didnt even need the stupid setstring stuff at all?
Reply With Quote
  #11  
Old 09-30-2001, 01:52 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
YA, finally, i got it to work, *kisses kamu*
Reply With Quote
  #12  
Old 09-30-2001, 02:11 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
i think i should start calling you kame, insteda of kamu then, *is oging to figure out tokenize, see you in a year*
Reply With Quote
  #13  
Old 09-30-2001, 02:41 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
o b k bs
Reply With Quote
  #14  
Old 09-30-2001, 10:51 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
~AlphaFlame~

*taps red shoes together* Kaimetsu Kaimetsu Kaimetsu!!

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

AAAAACCKKKK!!!
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #15  
Old 10-02-2001, 03:40 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
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)
}

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 07:31 PM.


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