Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-03-2001, 01:21 AM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
Question Selling Strings

How do i do that if i have 5 iron and want to sell it and i get 1g for each iron,


This is the script for the rocks (where you get the string)

NPC Code:

if(this.mintype==2)
{
if (this.power<=0)
setplayerprop #c, Iron Found!;
setstring Iron,#v(strtofloat(#s(Iron))+1);
this.mintype=0;
}





Can anyone help me make the selling thing?


-EDIT-
I edited the script so its begin eassyer to script, so can anyone PLEASE help?
__________________
Donate money for my trip to Germany

Adiarde Manager

Last edited by mhermher; 11-03-2001 at 01:23 AM..
Reply With Quote
 


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:35 PM.


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