Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO] NPC shop and Gold


Kay-No
 Share

Recommended Posts

Hello, ive played around some with EO, but there where two features i couldnt get a grip of. The first is NPC shop. Ive created a shop and a NPC as shopkeeper, but i dont know how to link them together.
The other thing is the Gold (that you can below the hp and mana bars).
Is it a certain itemnumber to work with it?
Link to comment
Share on other sites

@Ninja:

> Yeah, it stinks because the shop has to be set as a tile attribute.

Change the NPC UDT to handle a shop number if the shopkeeper attribute is selected, and modify the server-side code handling different NPC types to open up a shop window when attacked.
Link to comment
Share on other sites

@Lightning:

> @Ninja:
>
> > Yeah, it stinks because the shop has to be set as a tile attribute.
>
> Change the NPC UDT to handle a shop number if the shopkeeper attribute is selected, and modify the server-side code handling different NPC types to open up a shop window when attacked.

Got a tutorial or have a link to a tutorial on this? I would like to add that feature into my game. :]
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...