statelessrich's Forum Posts

  • 5 posts
  • The above still doesn't work ;__;

    Any suggestions?

  • Here is my new event map. The flag is initialized to true. When char1 has line of sight, it's set to false so the event cannot be triggered again.

    <img src="http://img.ctrlv.in/img/522b4feaee594.jpg" border="0" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Windwalker, my char1 does not have a solid behavior.

    Sargas, I am unable to specify the instance variable bool for a Set value action... the bool doesn't appear in the drop down list, even though it DOES exist for the object! :(

  • Thanks for the replies. Here is my updated event sheet; still doesn't work!

    Every object is set as a solid.

    <img src="http://img.ctrlv.in/img/5224b32b22da6.jpg" border="0" />

  • Hello,

    I have a character (char1) who moves along a path in a tight hallway. When he enters the line of sight of another character (char2), I want him to turn around, and calculate an alternative path to his destination.

    In my event sheet, I have added to the "has line of sight" event of char2:

    char1 > add obstacle > char2

    char1 > regenerate obstacle map

    char1 > find path to

    char1 > on pathfinding path found > move along path

    Yet char1, when he enters char2's line of sight, continues past char2 to the destination. What am I doing wrong?

    Thank you, and please welcome me to the forum, as this is my first post :)

  • 5 posts