lionz's Recent Forum Activity

  • If you are going to write events like this it's good to get used to debugging and logging. Add the Browser object to log the output and see if it's as expected.

  • You have to be careful when using waits in functions because they continue to run and depending on how you structured it you could be running events at the bottom first. Adding the wait to the top doesn't mean it will wait to run the rest of the function if there are multiple conditions.

    As described you could use the Timer behaviour for the display thing. Start a timer and then make use of 'on timer complete', then no need to use a function or waits.

  • You just need to set the text to show the global variable. As the variable changes it will update on the text.

  • Hehe this place has been getting quieter ever since the community discord server appeared...

  • Did you make the object global? That's what it looks like.

  • Using System : compare two values, it is

    LeftInBox=5 | LeftInBox=12 | LeftInBox=15 | LeftInBox=22 | LeftInBox=25

    is equal to

    1

  • Merry Christmas

  • From what I can see, yes. Construct team has yet to weigh in on whether it's as designed. It makes a little sense because when you load a game and you are in a different layout it is like changing layout. It is better to combine trigger once with something else. If you want to trigger it once on start of layout then you have the condition there for start of layout (this will not trigger when the game is loaded).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't think trigger events are affected, it seems to be single trigger once conditions which to be honest I think are bad practice anyway, there are better conditions to use than a trigger once on its own.

  • How much of this have you achieved? If you have an enemy moving towards the player with platform behaviour for example, when the enemy collides you can simulate control left or right depending on if the enemy's X is greater or less than the player (they are on the left or right of the player).

  • Something similar was reported here construct.net/en/forum/construct-3/how-do-i-8/trigger-once-state-not-saved-174049

    Seems that if you load a game it will run through trigger once events again. It doesn't remember that they were once triggered before the save occurred.

  • What problem are you having? You said it shows okay but then it doesn't? You need to update the text in the text object each time.

lionz's avatar

lionz

Online Now

Member since 5 Aug, 2013
Last online 16 Jan, 2025

Twitter
lionz has 72 followers

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies