+ Reply to Thread
Results 1 to 7 of 7

  Click here to go to the first Rift Team post in this thread.   Thread: Command.Item.Standard.*

  1. #1
    RIFT Community Ambassador the_real_seebs's Avatar
    Join Date
    Jan 2011
    Posts
    16,859

    Default Command.Item.Standard.*

    PTS docs updated:

    http://www.seebs.net/rift/pts

    Of interest:

    Command.Item.Standard.Drag function Behaves in the same way that the addon system does when an inventory icon is dragged.
    Command.Item.Standard.Drop function Behaves in the same way that the addon system does when an inventory icon is dragged.
    Command.Item.Standard.Left function Behaves in the same way that the addon system does when an inventory icon is left-clicked.
    Command.Item.Standard.Right function Behaves in the same way that the addon system does when an inventory icon is right-clicked.

    Ayup. Typo in one description, but there it is.
    You can play WoW in any MMO. You don't have to play WoW in RIFT. Oh, and no, RIFT is not a WoW clone. Not having fun any more? Learn to play, noob! I don't speak for Riftui, but I moderate stuff there. Just came back? Welcome back! Here's what's changed. (Updated for 2.5!)

  2. #2
    Plane Walker Imhothar's Avatar
    Join Date
    Feb 2012
    Posts
    439

    Default

    I would send Zorba a pack of cookies if shipping to the US didn't cost an arm and a leg

    Some stuff I found out so far:
    • Calling Command.Item.Standard.Drop() on a wardrobe slot while the wardrobe tab in the character window is open shows the red notification message "The wardrobe set is currently locked" without moving the item.
    • Using Command.Item.Standard.Drop() prevents the "Do you want to destroy the item?" dialog box from appearing. Yay!
    • Calling Command.Item.Standard.Left() works with CTRL- and SHIFT-clicking. More yay!
    • If you want the "Do you want to destroy the item?" dialog to not appear in your Event.LeftDown/LeftUp handlers you have to call Command.Item.Standard.Drop() with the same itemid that is currently held on the cursor (putting it back on it's slot) and do your other processing after that.
    Last edited by Imhothar; 06-16-2012 at 01:12 PM.

  3. #3
    RIFT Community Ambassador the_real_seebs's Avatar
    Join Date
    Jan 2011
    Posts
    16,859

    Default

    Is the drop destroying items without prompts, or not destroying them?
    You can play WoW in any MMO. You don't have to play WoW in RIFT. Oh, and no, RIFT is not a WoW clone. Not having fun any more? Learn to play, noob! I don't speak for Riftui, but I moderate stuff there. Just came back? Welcome back! Here's what's changed. (Updated for 2.5!)

  4. #4
    Plane Walker Imhothar's Avatar
    Join Date
    Feb 2012
    Posts
    439

    Default

    Command.Item.Standard.Drop() does not destroy anything as it needs either a slotid or itemid to drop the held cursor item onto.

    But releasing the left mouse button without having a Command.Item.Standard.Drop() called during the hardware event causes the "destroy item" prompt to appear (which you need to confirm of course).

  5.   Click here to go to the next Rift Team post in this thread.   #5
    Rift Team
    Join Date
    Oct 2010
    Posts
    927

    Default

    Quote Originally Posted by Imhothar View Post
    Calling Command.Item.Standard.Drop() on a wardrobe slot while the wardrobe tab in the character window is open shows the red notification message "The wardrobe set is currently locked" without moving the item.
    This is probably a bug - the wardrobe slots are implemented quite strangely. I'll work on it.

    Quote Originally Posted by Imhothar View Post
    If you want the "Do you want to destroy the item?" dialog to not appear in your Event.LeftDown/LeftUp handlers you have to call Command.Item.Standard.Drop() with the same itemid that is currently held on the cursor (putting it back on it's slot) and do your other processing after that.
    Another way to do this is by using Command.Cursor() to clear the cursor.

  6. #6
    Plane Walker Imhothar's Avatar
    Join Date
    Feb 2012
    Posts
    439

    Default

    Quote Originally Posted by ZorbaTHut View Post
    Another way to do this is by using Command.Cursor() to clear the cursor.
    Is this new? I'm not 100% sure anymore but I think I tried that once and still got the delete item popup. But that's been quite a while.

  7.   This is the last Rift Team post in this thread.   #7
    Rift Team
    Join Date
    Oct 2010
    Posts
    927

    Default

    Quote Originally Posted by Imhothar View Post
    Is this new? I'm not 100% sure anymore but I think I tried that once and still got the delete item popup. But that's been quite a while.
    A few of the items in the latest patch notes are bugfixes for Command.Cursor()

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts