Jump to content

[Help] NPC Trade script


Recommended Posts

Posted

My friends found a sick way to make money buying stuff from an npc shop, now it's been some time since i last coded something and i'm looking someone to tell me am i missing some events here.

 

> If inventory is !full, go to npc and trade.

> Buys till the stock is empty or inventory is full and banks

> If stock is empty == hop

 

Thanks!

  • 3 weeks later...
Posted
On 2017-01-11 at 8:59 AM, Rebel said:

My friends found a sick way to make money buying stuff from an npc shop, now it's been some time since i last coded something and i'm looking someone to tell me am i missing some events here.

 

> If inventory is !full, go to npc and trade.

> Buys till the stock is empty or inventory is full and banks

> If stock is empty == hop

 

Thanks!

Don't forget to insert a condition with > money in your buying event or it will get stuck at not enough coin

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...