item that can be dragged on the character

  • #1, by JorkzWednesday, 22. April 2020, 17:19 4 years ago
    Hello, everybody!
    After several unsuccessful searches on the net, I come to you for a problem I can't solve by myself.

    Would you have a solution to program A SINGLE item, initially present in my inventory... so that I can drag and drop it on my character ?
    I insist on the fact that it will be the only item that can do this (and only on the hero of the game).

    Thank you in advance !!!

    Newbie

    90 Posts


  • #2, by afrlmeWednesday, 22. April 2020, 23:50 4 years ago
    You could probably do an item dropped any action on the character to void any items dropped on the character, then just add an action for the item you want to be able to drop on them. Maybe?

    Imperator

    7278 Posts

  • #3, by JorkzThursday, 23. April 2020, 06:07 4 years ago
    Oh thank you very much !... But I have no idea how to do that, especially since I can't drag n drop an item on the character. Apparently, only drag on objects is allowed.

    How would you exactly proceed?

    Newbie

    90 Posts

  • #4, by afrlmeThursday, 23. April 2020, 12:15 4 years ago
    You mean characters are not detected below the cursor when you have a dragged item in your hand?

    Imperator

    7278 Posts

  • #5, by JorkzThursday, 23. April 2020, 12:16 4 years ago
    yes

    Newbie

    90 Posts

  • #6, by afrlmeThursday, 23. April 2020, 12:28 4 years ago
    I don't actually use the dragged item system so I'm not sure if they take on the parent properties of your currently active command. When you setup your commands you have the option to allow it to detect & be used on objects only, characters only, or both (with self being optional). I'm guessing whichever is your active command is likely set to objects only.

    Imperator

    7278 Posts

  • #7, by MachtnixThursday, 23. April 2020, 15:38 4 years ago
    I don't know this system in 4.2.5, so I switched between two outfits: one with, one without item. So clicking the character is still possible. Only the request "does the character now carry the item or not?" is additional necessary. I think, the item stays in the inventory every case, so if it's in use or not.
    I can't explain it better in English...

    Thread Captain

    1097 Posts

  • #8, by JorkzSunday, 26. April 2020, 16:10 4 years ago
    yes the solution with the dragged item and condition works wonders !! Thanks again

    Newbie

    90 Posts