Jump to content
  • 0

opening the storage when using an item


quakeman00

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  66
  • Reputation:   2
  • Joined:  03/08/13
  • Last Seen:  

i am wondering what would be the script to add to an item to open the stroage when using the item "WHITOUT CONSUMING THE ITEM"

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3124
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

Essentially, you can just use "openstorage; end;", though following the other items in the database that provide access to the kafra storage would be a good way to go. The Kafra Card (id:12211) uses callfunc "F_CashStore"; to bring up an npc dialogue window which then opens the storage. It's up to you how you implement this.

Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3124
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

You would set the item type to "11" which means "delayed consumption". You can use any script command and the item won't be eaten up by the server, with the exception of "itemskill" commands.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  66
  • Reputation:   2
  • Joined:  03/08/13
  • Last Seen:  

1 hour ago, Akkarin said:

You would set the item type to "11" which means "delayed consumption". You can use any script command and the item won't be eaten up by the server, with the exception of "itemskill" commands.

ok but what would be the command to open up storage at will when using the item?

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...