• 0

    posted a message on [Fixed] Detecting how many times an effect is being applied
    Quote from SoulFilcher: Go

    I'd use a Create Healer too. But from waht you said I guess you are trying to remove energy from the Pylon and trying to detect the number of cannons in order to define how much energy is removed.

    Exactly this. Using Modify units. Sorry if I was unclear.

    Just going to try what Dryeyece said now and i'll see if it fixes the problem. Last time I tried to use create healers, all sorts of hell broke loose. But if this doesnt work, i'll look into it I guess.

    It worked! Thanks everyone for the help! Just needed a fresh look on it it seems. Really appreciate all the help. :)

    Posted in: Data
  • 0

    posted a message on [Fixed] Detecting how many times an effect is being applied

    Hi, i'm working on an energy transfer system for my map and i'm having some trouble decreasing the energy on one of my structures appropriately.

    Here's how it works:

    Energy transfers from [Generator] to [Pylon] at 3 per energy second Energy then transfers to 3 nearby [Cannons] from the [Pylon]

    This means that the Pylon will receive 3 energy per second, and lose 3 energy per second, which is fine should I just "hardcode" in that 3 energy is lost every second from the Pylon.

    However, if there are only 2 cannons available to receieve energy from the pylon, then the pylon should only lose 2 energy per second, not 3.

    The question I have is: Is there a way to track how many times an effect is being applied (via a search area originating from the Pylon) to [Cannon]'s and apply another effect that number of times to the [Pylon]?

    Posted in: Data
  • To post a comment, please or register a new account.