SC2Mapster Forums

Development > Data

Turret won't rotate after upgrading.

  • 8 posts
    #1 Jan 11, 2013 at 12:09 UTC - 0 likes

    If built before or during the game it works fine, but when upgraded into it just faces forward. Still attacks but does not turn idly or to face it's target.

    I'm guessing it's some missing Actor Event, but I can't find it. Any ideas? Help would be appreciated. -Thanks

    #2 Jan 11, 2013 at 12:36 UTC - 0 likes

    Check if your upgrade changes the weapon of the turret/unit, and check the attachment points.

    #3 Jan 11, 2013 at 13:11 UTC - 0 likes

    @Argutaris: Go

    Thanks for the reply. I don't quite understand what your suggesting though. The tower and it's upgrade are using separate duplicates of the Auto-Turret actor. They each have their own weapon, but both use the default Auto Turret turret. AM I supposed to be setting an attachment somewhere?

    In game, the weapons upgrade (and deal their proper damage).

    #4 Jan 11, 2013 at 16:20 UTC - 0 likes

    The 'upgrade' is a morph ability right?

    Make sure that the upgraded unit have a turret under the weapon so that it can turn around.

    #5 Jan 11, 2013 at 17:09 UTC - 0 likes

    @Demtrod: Go

    Yes it's a morph. The upgraded unit has a turret (the same one as the normal unit). I tried putting in another one, but no luck there either.

    I think it's probably an actor issue since the tower attacks, it just doesn't turn towards it's target (or spin idly). It also works fine if I drop the upgraded unit into the map directly.

    Last edited Jan 11, 2013 by tdburley
    #6 Jan 11, 2013 at 18:29 UTC - 0 likes

    Upgrade model has a TurretZ attachment point?

    You destroyed and recreated the Turret type actor?

    #7 Jan 12, 2013 at 02:56 UTC - 0 likes

    @DrSuperEvil: Go

    Yes, has a TurretZ.

    I honestly don't even know when the turret Actors are being created (not to mention how to destroy them). The only Event listed under AutoTurretTurret (both of my towers are based off the Auto Turret unit) is: TurretEnable.AutoTurret -Create

    Events+ still causes me a lot of headaches.. Any insights would be appreciated.

    #8 Jan 12, 2013 at 10:59 UTC - 0 likes

    Make it when the morph ability starts it destroys the turret actor and when the morph ability stops it creates it again.

  • 8 posts

You must login to post a comment. Don't have an account? Register to get one!