How to use an item on the main character?

  • #1, z fabian-schurgersTuesday, 11. January 2022, 10:50 hodinky 2 years ago
    Hi there,

    Does anyone know how you can use an item on your main character?

    In my game, the main character can find a letter. I would like to drag it from the inventory and drop it on the main character, triggering a reading animation.

    But I'm having a little trouble finding out how to do that!

    Best regards,

    Fabian



    Fanoušek fóra

    134 Posts


  • #2, z afrlmeTuesday, 11. January 2022, 12:10 hodinky 2 years ago
    I don't know what your command system setup looks like, but whichever command you use for setting the dragged item/active held item needs to have the option "own character" ticked inside of the command properties tab for it, so that it can detect the playable character below the cursor.

    Imperátor

    7285 Posts

  • #3, z fabian-schurgersTuesday, 11. January 2022, 14:08 hodinky 2 years ago
    Thanks! I'll try that!

    Update: It worked, thanks again!

    Fanoušek fóra

    134 Posts