SC2Mapster Forums

Development > Triggers

How to detect when a unit is vortexed?

  • 4 posts
    #1 Jan 29, 2013 at 02:47 UTC - 0 likes

    How do you detect when x unit has entered a vortex and when it gets out?

    Thanks in advance! (As I am not experienced in this)

    #2 Jan 29, 2013 at 03:01 UTC - 0 likes

    @MoDTassadar: Go

    The vortex ability probably creates a buff on the victim unit. You would just need to check whether 'x' unit has that buff. If it does, then it's in the vortex. If it does not, then it is not in the vortex.

    My Projects:
    Malum Ruina: SC2Mapster
    Eternal Exile: SC2Mapster
    Spine Crawler Madness: SC2Mapster
    Xeno Crisis: SC2Mapster

    #3 Jan 29, 2013 at 04:06 UTC - 0 likes

    Yes, I already thought of that, but I do not know how to do that. Could you tell me the name of the event type?

    Thank you!

    #4 Jan 29, 2013 at 05:14 UTC - 0 likes

    @MoDTassadar: Go

    Unit Behavior Changes is the event

  • 4 posts

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