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 08-03-2001, 12:00 AM
Link188 Link188 is offline
Registered User
Link188's Avatar
Join Date: Jul 2001
Location: Monroeville, PA
Posts: 548
Link188 is on a distinguished road
Send a message via AIM to Link188
Question Strings and Var

How do I sell Pearls and Fish to an NPC?? Or I mean how can I make one that you sell to for g???
Reply With Quote
  #2  
Old 08-03-2001, 12:13 AM
Link188 Link188 is offline
Registered User
Link188's Avatar
Join Date: Jul 2001
Location: Monroeville, PA
Posts: 548
Link188 is on a distinguished road
Send a message via AIM to Link188
Will anyone helP!!!!!!!!!!!!!!
__________________
~Jeice Lighthawk~
"And you will shed tears of scarlet..."

~Edited by me. ^_^
Reply With Quote
  #3  
Old 08-03-2001, 01:05 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
something like
NPC Code:

if (playerchats&&strequals(#c,sellfish)) {
this.pounds=strtofloat(#s(fishpound));
this.playerrupees+=this.pounds;
setstring fishpound,;
}

__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #4  
Old 08-03-2001, 02:19 AM
Link188 Link188 is offline
Registered User
Link188's Avatar
Join Date: Jul 2001
Location: Monroeville, PA
Posts: 548
Link188 is on a distinguished road
Send a message via AIM to Link188
THX Liquid Ice but do you know how to see pearls? Or is the same?
__________________
~Jeice Lighthawk~
"And you will shed tears of scarlet..."

~Edited by me. ^_^
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 04:55 AM.


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