I can't pick up and put an object in my inventory

  • #1, by bernusMonday, 19. August 2013, 16:55 11 years ago
    Hello
    I'm doing the glenFX tutorial and I'm kind of stuck when it comes to pick up an object and put it in my inventory.

    The "executed command on command" -> "Take" doesn't work. Nothing happens.
    When I change it to "double clic", it works perfectly (the item disappears from the scene and goes to the inventory)
    Can someone help me?

    Bernus

    Newbie

    7 Posts


  • #2, by afrlmeMonday, 19. August 2013, 20:21 11 years ago
    could you post some screenshots of your command interface setup & the actions for one of the objects etc please? - so we can see if you have possibly made a mistake somewhere or if it could be another reason.

    P.S: I don't know what sort of game you are making but there are multiple command interface types you can create from the old retro text based ones like in the old LucasArts classics or the coin/ring interface found in the curse of monkey island or right click cycle commands or even the modern single click (left for interaction, right for examine) interface found in Broken Sword games or pretty much any of the games made by Daedalic Ent.

    Imperator

    7278 Posts

  • #3, by bernusTuesday, 20. August 2013, 08:52 11 years ago
    Hi, thx for the reply
    I'm just following the glenfx tutorial so for now, it's a right clic cycle command (look, take, walk).
    Here are some of the parameters of my game :



    Hope it helps.
    bernus

    Newbie

    7 Posts

  • #4, by afrlmeTuesday, 20. August 2013, 12:02 11 years ago
    remove the item "pince" from the take command...

    item part is used for if you execute x command & item together on an object....
    you can also use item dropped command for using items on objects.

    Imperator

    7278 Posts

  • #5, by bernusTuesday, 20. August 2013, 14:37 11 years ago
    ok, it's working
    I'm still a little confused with items and objects...

    I still have a tiny problem
    I tried the action "corsor enters object area" => set cursor "take"
    When i put my mice on the "pince", the cursor changes to "take".But if I clic on it, my character goes to it but nothing happens. I have to select the "take" cursor with the left clic cycle command then clic so it can work.

    Thx for the help !

    Newbie

    7 Posts

  • #6, by afrlmeTuesday, 20. August 2013, 15:02 11 years ago
    glen-fx tutorial is nice but a little out of date in some sections considering it's from VS 3.1 & we are nearing 3.8, sometime this year; hopefully.

    set cursor only changes the cursor icon & not the command...
    instead you should do...

    select action part > interface > "Set command"

    do same action part again on mouse out (cursor leaves) but set command back to whatever your default command is.

    P.S: you can assign a default cursor to commands via the command properties tab for buttons set as commands.

    Imperator

    7278 Posts

  • #7, by bernusWednesday, 21. August 2013, 18:23 11 years ago
    Hey, thank you, it's working !
    I'm sorry if I seem such a noob, I'm just starting using visionaire.

    I did put a default output to my take command.
    I don't have to set the default cursor when I leave the area. The item goes to my inventory and the default cursor comes back by itself.
    Bernus

    Newbie

    7 Posts

  • #8, by afrlmeWednesday, 21. August 2013, 20:15 11 years ago
    no worries...
    everyone has to start somewhere! wink

    seeing as you are setting command take on mouse over then the on mouse out > set back to default command, is for in case the player doesn't actually click on the object & only hovers over it.

    Imperator

    7278 Posts

  • #9, by bernusThursday, 22. August 2013, 09:56 11 years ago
    right ! I have a lot of work to do to master this !

    Newbie

    7 Posts