Jump to content
  • 0

Storage/Guild NPC


KoriAK

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

Im not sure how to make this, i dont want to use kafra npc, i just need that type of npc anyone willing to help me.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1131
  • Joined:  05/27/12
  • Last Seen:  

*openstorage;

This will open character's Kafra storage window on the client connected to the

invoking character. It can be used from any kind of NPC or item script, not just

limited to Kafra Staff.

*guildopenstorage()

This function works the same as 'openstorage' but will open a guild storage

window instead for the guild storage of the guild the invoking character belongs

to. This is a function because it returns a value - 0 if the guild storage was

opened successfully and 1 if it wasn't. (Notice, it's a ZERO upon success.)

Since guild storage is only accessible to one character at one time, it may fail

if another character is accessing the guild storage at the same time.

trunk/doc/script_commands.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

thank confuse me can you dummy it down please, and explain where it has to go please and thank you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Like this?

- script storage -1,{
OnInit:
bindatcmd("st","storage::MyStorage");
bindatcmd("gst","storage::MyGuildStorage");
end;
MyStorage:
openstorage;
end;
MyGuildStorage:
guildopenstorage();
end;
}

Or you could use @storage / @gstorage ;)

Edited by nanakiwurtz
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...