DE EN FR ES IT CZ

Questions to dragging items + combined actions

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 12 years ago
    How I can change this behaviour to a single click?

    - With a single click I see the "use item with" in the command line and the mouse cursor is normal.
    - With a double click I see the "use item with" in the command line and the mouse cursor changes to the item icon
  2. New to Visionaire Studio?

    Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.

    See the Indie Bundle Try it for free
  3. · 12 years ago
    Have you enabled the drag items from inventory option in the main game properties tab? It also has to be enabled for the active command (items can be dragged with...) in the interface properties tab for the selected command.

    Do you have any conflicting actions inside of the mouse actions in the mouse properties tab?

    P.S: I'm not sure why it's called dragging to be honest as it's click > then cursor changes to item. There's no actual dragging involved, as far as I can tell.
  4. · 12 years ago
    Oh sorry, I have not checked all posibilities. There was a bad code snippet inside the "left clicking" command section. It works now. You can delete this thread completely.
  5. · 12 years ago
    You have to delete it. There should be a little trash can icon at the bottom of your post, to the left of quote.
  6. · 12 years ago
    Sorry I have an other problem now. Now the "dragging = pick up" works. I see the item icon instead the mouse cursor (I can move the item around) and the command line shows "use item with...". But now I can not start an action If I click with the items on scene objects... but I have defined actions for the use with command + item + scene object. They work If I turn off the dragging options, but with activated dragging options I can not trigger an action.
  7. · 12 years ago
    There's 2 item drop methods in the action list.

    1. command + item is when you manually set the current command & item held with action parts.

    2. item dropped is when the item was dragged.

    A dragged item is not a command + item, it is just an item with item is dragged enabled in the data structure fields, hence it won't work for regular command + item actions.
  8. · 12 years ago
    And why not? How I should handle or comment misplaced items with comment sets if they had no official command?
  9. · 12 years ago
    OK, I begin to understand. This dragging system is a system beside/outside the normal command system. I was confused because I need a normal command to activate this system-....
  10. · 12 years ago
    Err... About all I can tell you is that I'm not overly fond of the dragged item method.

    Here's a quick example why: Let's say I am using a single command (broken sword) type of interface & thus to change cursors it requires that I add set cursor action parts to on cursor enter / leave actions for each scene object.

    Now if I was dragging an item & hovered the cursor over a scene object it would replace the item icon with the one in the on cursor enter action part, but the item would still be set (although the player won't know this).

    To get around this issue I ended up having to write a small lua script function & create some called by other actions for setting the cursors (seeing as there is currently no data structure field for setting the active cursor). The function checks if an item is being held & if it is then it will ignore keep the current cursor / item else it will set the cursor I specified.

    Personally I think it's best to set cursors & commands & items manually. That way you can use smaller custom neater looking cursors for items instead of the images / animations that are displayed in your inventory.

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?