Correct creation of conditions and values

  • #1, by red363Sunday, 14. November 2021, 23:02 2 years ago
    Hello, friends.

    Can you advise how to create conditions and values methodologically correctly? I have not yet figured out in what cases and where it is more correct to create them. Because I can create for example a condition in a scene, in an object, in a character, etc. And so far I have not seen much of a difference. Is there any guidance on this topic? The same goes for variables.

    Thanks.

    Forum Fan

    101 Posts


  • #2, by NigecMonday, 15. November 2021, 10:00 2 years ago
    I use conditions if true or false is enough, ie if a light is off or on, however if it was a door's state, locked, unlocked, closed, open, I use  numeric values
    You can do sequence puzzles with conditions but values are a lot easier to keep track of and you can tie them in with animation,, if value name =1 then the animation frame is also 1 kinda thing.



    Key Killer

    627 Posts

  • #3, by afrlmeMonday, 15. November 2021, 13:36 2 years ago
    I highly recommend creating them in the scene conditions/values tabs on the right hand side of the editor. Much easier to find & keep track of them as opposed to them being created inside of the relevant scene objects themselves.

    Imperator

    7278 Posts

  • #4, by red363Monday, 15. November 2021, 19:56 2 years ago
    I use conditions if true or false is enough, ie if a light is off or on, however if it was a door's state, locked, unlocked, closed, open, I use  numeric values
    You can do sequence puzzles with conditions but values are a lot easier to keep track of and you can tie them in with animation,, if value name =1 then the animation frame is also 1 kinda thing.

    Thanks for the answer. Agree with you. But my question would be more about where exactly is it better to create. In a scene, in an object, in a character, etc.

    Forum Fan

    101 Posts

  • #5, by red363Monday, 15. November 2021, 19:59 2 years ago
    I highly recommend creating them in the scene conditions/values tabs on the right hand side of the editor. Much easier to find & keep track of them as opposed to them being created inside of the relevant scene objects themselves.
    Thanks. I agree with you. Apparently there is no particular difference where to create them, it's only in the convenience of the naivgation and / or logic.

    Forum Fan

    101 Posts