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

  • #1, von bernusMontag, 19. August 2013, 16:55 Uhr vor 12 Jahren
    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

    Neuling

    7 Posts


  • #2, von afrlmeMontag, 19. August 2013, 20:21 Uhr vor 12 Jahren
    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.

    Foren Imperator

    7285 Posts

  • #3, von bernusDienstag, 20. August 2013, 08:52 Uhr vor 12 Jahren
    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

    Neuling

    7 Posts

  • #4, von afrlmeDienstag, 20. August 2013, 12:02 Uhr vor 12 Jahren
    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.

    Foren Imperator

    7285 Posts

  • #5, von bernusDienstag, 20. August 2013, 14:37 Uhr vor 12 Jahren
    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 !

    Neuling

    7 Posts

  • #6, von afrlmeDienstag, 20. August 2013, 15:02 Uhr vor 12 Jahren
    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.

    Foren Imperator

    7285 Posts

  • #7, von bernusMittwoch, 21. August 2013, 18:23 Uhr vor 12 Jahren
    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

    Neuling

    7 Posts

  • #8, von afrlmeMittwoch, 21. August 2013, 20:15 Uhr vor 12 Jahren
    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.

    Foren Imperator

    7285 Posts

  • #9, von bernusDonnerstag, 22. August 2013, 09:56 Uhr vor 12 Jahren
    right ! I have a lot of work to do to master this !

    Neuling

    7 Posts