The problem with look-take conditions. NEED HELP please!

  • #1, by kytattooSunday, 01. May 2016, 07:41 4 years ago
    Hi, everyone, here is the problem:
    There is hole in the fence and there is hidden item there. The character cant take it until he looks at it. He looks at it and then he can take it. But the problem is when the item is already in inventory - he still says there is something there. I followed Glen Fernandes'es tutorial but i think there is mistake there.. Could anyone help me please )) I broke my mind trying to solve this ))

    Newbie

    60 Posts


  • #2, by kytattooSunday, 01. May 2016, 08:29 4 years ago
    And vice versa if the character looks at it at second time he says There is nothing here, but the item is there (not in inventory)

    Newbie

    60 Posts

  • #3, by kytattooSunday, 01. May 2016, 08:36 4 years ago
    Ok, guys, this topic can be closed. Actually there IS mistake in that tutorial and i figured it out! There should be two conditions for both - take and look actions and therefore there should be two ELSE paragraphs in both, but there is only one condition and one ESLE in look action in tutorial

    Newbie

    60 Posts

  • #4, by afrlmeSunday, 01. May 2016, 12:27 4 years ago
    Glenfx tutorials while mostly still valid are a little old & the engine has changed quite a bit over the past few years & will continue to change, improve & grow.

    I'm glad you managed to figure out what the issue was yourself, as it's a much better learning experience than me, or someone else giving you the solution. wink

    Imperator

    6842 Posts

  • #5, by kytattooSunday, 01. May 2016, 12:32 4 years ago
    Thanks )

    Newbie

    60 Posts

Write post