License from €75
DE EN FR ES IT CZ

Show active objects when pressing space bar

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

  1. · 14 years ago
    Hello,

    I would like to create a system that show where the active objects are on a scene (like games as Secret Files).
    A already have created a button on the interface that do the job when I right-click on it with the mouse.

    The system is simple : I have initialized an condition with the value "False" then added some "objects" with an magnifying glass picture on some positions on the screen. These "objects" are visible only when the condition is "True".

    Now, when I roght-click on the button, I do the fallowings actions :
    - Change the condition to True
    - Pause durring 2 seconds
    - Change the position to false

    It works perfectly but now I would like to do the same thing by pressing the space bar button of my keyboard instead of clicking with my mouse.
    How could I do that ?

    Thank you very much.
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license. Forum readers get the Indie Bundle 15 % off with the code FORUM15: €84.15 instead of €99, valid until 31 Dec 2026.

    Get 15 % off Try it for free
  3. · 14 years ago
    hmm you are talking about a hotspot system yes?

    VS already has one but is called "snooping" for some reason.

    you can link to whatever animation you like inside of an object or interface - you could have different animations based on type of thing the hotspot is showing: object, character, exit etc or even create other object areas which display different animation if object/character is no longer active.

    you should add them to objects which only contain the object area really & have a condition which controls if the object is active or false (that way the hotspots will only show if the object is active)
    • Image in post
    • Image in post
    • Image in post
  4. · 14 years ago
    Thank you, thant is exactly what I was looking for !

    There is a bad translation on the French version of Visionaire. The title is "Actions clé". It should be "Touches d'actions" or something like that.
    "Actions clé" means another thing, so I didn't even tried to look at this menu.
  5. · 14 years ago
    ok dokie, if you spot any other translation errors then let us know, cheers wink
  6. · 13 years ago
    Hey there, I'm not able to link my show-snoop-anim-action to spacebar. It perfectly works when I link it e.g. to "s", (like "snoop"), but it doesn't work with spacebar... I tried it on my old XP setup and my all new Windows 8 machine. Any ideas? LUA maybe?
  7. · 13 years ago
    Do you already have any existing spacebar key inputs? Have you added anything else to the spacebar input actions?
  8. · 13 years ago
    Of course<\b>, I did have an additional, empty entry with spacebar, hid between all the other keyboard actions...
    Thanks for guiding me to the obvious.;-) I deleted that and now it works.
  9. · 13 years ago
    It will only execute the actions of any duplicated key inputs that are higher up on the list. A safety feature I guess! smile

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?