YetAnotherSuperhero's Recent Forum Activity

  • I need to trigger an action when all instances of the same object have the same value for a variable. And I can't figure this out.

    How do I do what I wanna do? I wish I knew.

  • Hey, my code:

    Ship.Value('Health')<0
    
    (Sub Event) Objects.Value('Target:UID')=Ship.UID
    
    then: Object.Value('Target:UID')=0[/code:dhg7hmua]
    
    ("Objects" is a family that "Ship" belongs to)
    
    But, this never sets Objects Target:UID to 0
    
    I've tried and tried an I can't get this to work.
    
    What am I doing wrong?
  • Ok. Thanks for the Help!

  • Thanks for the help.

    I've looking it over and still can't make sense of it. BUT! I've narrowed down one line of code that doesn't work in 99.72+ but works in 99.7.

    There is a corner button and three circle button. The circle buttons are supposed to be layed around the corner button as they are when you compile the .cap in 99.7. But when you compile it in 99.8 the circle buttons are clumped together.

    So, am I picking families wrong? Or is this a bug?

  • Oh my god! Thank You! this is perfect!!!!

  • Thanks for the help. I'm trying to make it work, but it's going to be messy.

    P.S. I just had a thought is there an easy way to do this in python? Or if some lovely coder whould like to make a plugin for this. It'd be great!

  • That's what I was thinking, but I can't figure out how to implement it. Since the days only show what day of the month it is (Not what day of the year), I'd have to include months, but then since all months are not equal, (not even factoring leap years), it becomes quite a mess. I was wondering if anyone had any smart ideas on how to implement this.

  • I'm stumped. DOes anyone have any ideas on how to get the amount of seconds since, let's say, Jan 1 1970.

    The reason I needs this is my game logs the last time you played and updates what happened during the time you started again. So I need to know how that's been.

    Thanks again for all the help.

  • Okay, I uploaded a file in the Uploads forum. I hope this can be worked out.

    Thanks.

  • Here are two caps showing the same code using familys not working in 99.8 but working in 99.7.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there a way I can upload a file privately? I'm sorta skittish about my ideas and work getting used by someone else?

    I know not very community-friendly. I'm sorry.

  • It appears that picking with families doesn't work anymore. It was working in 99.7, and broke in 99.72.

    Is there anything changed in them? It seems like it picks all in the family (he he) rather than the one the conditions apply to.

YetAnotherSuperhero's avatar

YetAnotherSuperhero

Member since 20 Jul, 2008

None one is following YetAnotherSuperhero yet!

Connect with YetAnotherSuperhero

Trophy Case

  • 16-Year Club
  • Email Verified

Progress

17/44
How to earn trophies