• 0

    posted a message on Capturing buildings by powering them

    Hi,

    I'm trying to build a map which has custom neutral Protoss buildings, which can be controlled by a player who powers them with a Pylon. If another player destroys the Pylon, the unpowered building reverts to neutral.

    Unfortunately, I can't find a way to let a unit "see" the power radius of a unit from another team. I assume the answer lies somewhere in the Power Source and Power User behaviors, but there seems to be no way to let a Power User interact with a Power Source of another team. Is there a way to get around this?

    One method I played with was using map triggers to simply detect if a Pylon was built near a neutral structure (although I would prefer to use a Data-driven method). However, I couldn't find an event that could be triggered if Building A (the Pylon) was built in a certain radius of Building B (the neutral structure).

    Any thoughts on these issues would be greatly appreciated!

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