Cupboard open / closed

  • #1, by JorkzWednesday, 22. April 2020, 17:28 4 years ago
    Hello
    I definitely can't set up a piece of furniture that contains a cardboard box. I've been working on it since yesterday morning and I can't find a valid solution !
    Below are my settings.

    The problem is: My box is not displayed, even though everything else seems to be working.

    Thanks in advance. smile

    Newbie

    90 Posts


  • #2, by afrlmeWednesday, 22. April 2020, 23:49 4 years ago
    I'm not really sure what I'm looking at here.

    Imperator

    7278 Posts

  • #3, by JorkzThursday, 23. April 2020, 06:09 4 years ago
    I don't quite understand your answer and why you wrote this. Are my setttings too complicated for something so simple?

    Newbie

    90 Posts

  • #4, by NigecThursday, 23. April 2020, 10:43 4 years ago
    A simple example would be better, it could be an issue with the action areas,  commands.. its really difficult to tell from the images

    Key Killer

    627 Posts

  • #5, by JorkzThursday, 23. April 2020, 11:05 4 years ago
    Ah ok... thank you!...
    After doing several manimulations I realized that I didn't use a good method. The new one is better. In fact, I think the basic problem now comes from a conflict between a combined condition and an item that is present in my inventory but doesn't want to disappear from the scene. The combined condition seems to have priority...

    (The combined condition is the box "negate" on closed cupboard and without setting on open cupboard... But the issue is that when I want to take the item / put it in the inventory... (with the usual manner "condition false" / "add to inventory") The object on the scene doesn't want to disappear !)

    Do I have to solve this step with the values system ?

    Please tell me if I've made myself clearer ??

    Newbie

    90 Posts

  • #6, by NigecThursday, 23. April 2020, 11:42 4 years ago
    I would use values, something like:
    1=closed
    2=open 
    3=empty

    Key Killer

    627 Posts

  • #7, by JorkzThursday, 23. April 2020, 11:46 4 years ago
    ok, sure !
    In this case exactly what should I assign the value to?

    Newbie

    90 Posts

  • #8, by afrlmeThursday, 23. April 2020, 12:19 4 years ago
    To all of the objects involved. Values are great for events that have multiple states as you can use a single value instead of multiple conditions to achieve the same thing.

    Where conditions only have true or false, values have multiple things you can query...

    = equal to
    != does not equal
    > greater than
    >= greater than or equal to
    < less than
    <= less than or equal to

    You would assign the value to just below where you assigned the conditions.

    Imperator

    7278 Posts

  • #9, by JorkzThursday, 23. April 2020, 12:26 4 years ago
    thank you again.
    I already know (almost) all this, but the problem is I don't understand what the number really stands for.

    Do you mean
    1) first trie
    2) second trie
    3) etc...                           ?

    Newbie

    90 Posts

  • #10, by afrlmeThursday, 23. April 2020, 12:33 4 years ago
    Just think of the value as being a state. Let's say that you have a door that is locked by default.

    So let's say that if the value equals 0 that the door is locked. Now let's say that you have used a key on the door & that you now want the door to be unlocked, but still closed, so you would change the value to 1 after using the key on the door. Now let's say that you have just opened the door, so now you would change the value to 2.

    So to recap...

    value "door" = 0 (locked)
    value "door" = 1 (unlocked & closed)
    value "door" = 2 (open)

    Imperator

    7278 Posts

  • #11, by JorkzThursday, 23. April 2020, 13:26 4 years ago
    Ok ! Thanks... But I also know that, but the problem I'm having is that I don't know where to set this up without going through the script.
    In fact, There is no  window specifically dedicated to values. For example, a place where I would say "at 0 something happens at 1 a thing at 2 another thing ... etc...."

    Newbie

    90 Posts