Wishy Woshy Items for the Inventory - SOLVED

  • #1, by ozzie-daveMonday, 27. November 2017, 06:29 2 years ago
    Hi Sebastian,

    I have VS 5.05 and Windows 10, I have spent two weeks trying to figure out why placing Items into a Verb_coin Inventory setup, I used the Demo FANTASY QUEST as my template.

    I place an Item in a scene, draw the EDIT OBJECT AREAS, the 'use_coin' Executed then Add Item'bottle' to character'current character'

    On starting the game occassionaly the item that was clicked on did go to the Inventory, but on other times when I did the same thing with different items they were not picked up and there seemed to be no interaction with the scripting at all.

    Also when I needed to move an item from one part of the scene to another, knowing I had to
    EDIT OBJECT AREA again which I did, I also had a problem with interaction with the scripting.

    Is there a special order that the Items must be prepered for the Inventory System to work ?

    Many Thanks 

    Newbie

    22 Posts


  • #2, by sebastianMonday, 27. November 2017, 07:41 2 years ago
    im not sure if im understanding everything you write here. There is a difference between items and scene objects. You cant move items inside the inventory unless you mean dragging it with the mouse cursor around.

    Regarding the add item only  sometimes working :
    the is nothing more to consider here. Just the action part needs to be executed. Maybe your command you are using doesnt trigger the correct action? 

    Thread Captain

    2336 Posts

  • #3, by ozzie-daveTuesday, 28. November 2017, 01:30 2 years ago
    Hi Sebastian,

    Thanks for your prompt reply. Does this mean that if I have an ITEM, say a Jar, that I have to have two representations of that Jar (1) ITEM & (1) OBJECT, if so how do I go about doing that, as at the moment I make an Item in the item tab, and place that Item on the Scene.

    I am using the Ver_coin Idea, just clicking on the hand, and hoping the Item vanishes from the scene, and appears in the Inventory when right mouse button is clicked.

    Thanks again

    Newbie

    22 Posts

  • #4, by sebastianTuesday, 28. November 2017, 02:14 2 years ago
    yes. you have to add the item via action part and then switch a condition to makenit disappear in the scene. 

    Im curious how you place the items in a scene so that they appear there right now... 

    Thread Captain

    2336 Posts

  • #5, by ozzie-daveTuesday, 28. November 2017, 05:31 2 years ago
    Hi Sabastian,

    After tearing what is left of my HAIR, and 2 weeks later I found the reason why my Verb_coin  failed to pick up, and deposit items in my Verb_coin Inventory. 
    Not the scripting or the fact that I used the Items for Items, and Objects, but the problem was in  ITEMS OBJECT POSITION AND OBJECTS CENTRE. The Position has to be set within the Waypoint Border close to the Item, and the Object Center must be set, well I just let it set itself. 
    This worked for me and I can now pick up Items ok, don't know if its a script error or the way it should work. Anyway I wrote this in case another user had the same problem as me. CHEERS  
    See Image for details.

    Newbie

    22 Posts

Write post