• 0

    posted a message on Create unit effect rally not working

    I'm setting it manually for testing purposes, but it's usually around 8-10 range. I have noticed that they stop at cliffs and major blockages, such as groups of buildings, so I thought at first the units were somehow moving. That does not appear to be the case, as modifying the units (to fly, move faster, and so on) does not have any effect.

    Obviously I want to know what the problem is, and it might help other people, but really I just need to know how to send a unit created via effects to a rally point. If you have any other ways or workarounds, I'd love to try them. I'm just trying to replace my current system, which has the following trigger doing the heavy lifting.

    Events
        Environment - Player Any Player uses Effect Custom - Zerg - Unit Spawn Notification
    
    Actions
        Unit - Order (Triggering Effect Unit(Target)) to ( Attack targeting Base) (Replace Existing Orders)
    

    This effect is used by the create unit effect to send an event that the trigger can respond to. It works very well, but also very, very slowly. I get a noticeable lag spike with just 20-30 units being created via a persistent effect. I have it creating one unit per game loop in this persistent effect (to spread the lag and prevent those quick freezes) and it's only making about 20 units. But add this spawn ability to multiple units, and you have serious lag problems.

    So I'm trying to make a more efficient setup that doesn't use triggers, because I understand that the trigger system is not optimized for this kind of thing. I figured the best way to do that was with a rally point.

    Posted in: Data
  • 0

    posted a message on Create unit effect rally not working

    I duplicated the swarm host spawn ability exactly and gave it to the spawning pool. It spawns locusts as intended, but they spawn between the spawning pool and the rally point. I did what was suggested here, but it hasn't changed anything. It just keeps spawning them near the rally point. Can anybody give me some hint as to what I must do to fix this?

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