Show active objects when pressing space bar

  • #1, by sjailliardFriday, 03. May 2013, 17:59 7 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.

    Newbie

    3 Posts


  • #2, by afrlmeFriday, 03. May 2013, 18:39 7 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)

    Imperator

    6817 Posts

  • #3, by sjailliardSaturday, 04. May 2013, 10:40 7 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.

    Newbie

    3 Posts

  • #4, by afrlmeSaturday, 04. May 2013, 15:05 7 years ago
    ok dokie, if you spot any other translation errors then let us know, cheers wink

    Imperator

    6817 Posts

  • #5, by NovelMonday, 08. September 2014, 23:59 6 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?

    Newbie

    100 Posts

  • #6, by afrlmeTuesday, 09. September 2014, 14:11 6 years ago
    Do you already have any existing spacebar key inputs? Have you added anything else to the spacebar input actions?

    Imperator

    6817 Posts

  • #7, by NovelTuesday, 09. September 2014, 22:43 6 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.

    Newbie

    100 Posts

  • #8, by afrlmeWednesday, 10. September 2014, 00:11 6 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

    Imperator

    6817 Posts

Write post