kyshaws25's Recent Forum Activity

  • I think I figured it out. New terminology, old dog.

    The "return type" threw me off and I couldn't make heads/tails of where my function was listed. Thank you for explaining that as I would have driven myself nuts trying to make sense of it.

  • Oooooohhhh..... Wow. Thank you.

    So I feel like I'm in a dif dimension here.

    The function should calculate several numbers with the result setting a global value with a string.

    I've done this for several years and don't remember struggling with this so much.

    If I want the script to set the global value, how do I need to set it?

  • hey C3. I agree it's a pretty simple (dumb) question but my old school brain has a pattern of Add Action > Functions > pick from list of functions.

    Now I see three options I'm unfamiliar with and a brief search didn't provide much insight.

    Does anyone have an article or explanation on what these three options mean and which one I should use if I just want the function to execute when the condition is met?

    Thanks in advance and apologies on the question.

  • Thanks oosyrag. Before I spent a lot of time testing with that, I wanted to make sure it was an option.

    Take care!

  • Hey C3. Instead of a number for the timer end, I've tried using a variable which hasn't seemed to provide the desired outcome. Does anyone know if a variable can be used versus a number?

    Example below shows a number however I was hoping to use an instance or global value.

  • You do not have permission to view this post

  • Genius! That gives me a working model to reverse engineer and adapt to my sandbox.

    Thank you much! Link to buy you a coffee?

  • Hey there. Just opened up your example and it appears you used version 410 and I've got 407.2 so it won't open. Where did you download the newer version from?

    Found 410 (I had 407.2 installed locally so I could use it when I have to fly or camp). Diving into it now.

  • Yes, your assumptions were deadly accurate!

    Thank you so much for the file to explore further. I'm out of town until tomorrow morning and promise to dig into your example then. I appreciate your time and help with this!

  • Hey C-world. Below is a screenshot of my sandbox where I'm trying to figure out how to write the condition so that:

    • All boxes with the boxes.onteam variable that equal yes
    • must also have the boxes.coins variable equaling 1000

    What's happening instead when I click the arrow box, is the boxes that have the .onteam = yes are subtracting their coins if .coins is greater than/equal to 1000.

    Expectation is - If all the boxes that are .onteam = yes don't have .coins => 1000, nothing should happen.

    I can't figure out how to write that condition. I've tried "for each", without "for each", etc with no success. Any help is appreciated.

  • Thank you both for solid options!

    Cheers

  • C3, hey there. I did this before but can't find my notes so I'm just going to ask.

    Every second, coins variable increases by 4. I want this to continue until it reaches 90 which means one of the increases has to be 2.

    So frustrating as I did it before. Assistance appreciated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
kyshaws25's avatar

kyshaws25

Member since 22 Jul, 2024

None one is following kyshaws25 yet!

Trophy Case

  • RTFM Read the fabulous manual
  • Email Verified

Progress

2/44
How to earn trophies