SC2Mapster Forums

Development > Data

How to do an offset for guardian shield? (only effects units behind the sentry)

  • 5 posts
    #1 Feb 14, 2013 at 02:28 UTC - 0 likes

    I want to make an permanent "aura" for a RPG Tank class unit, who has a permanent "guardian shield ability" but it only affects units that stand directly behind this hero tank unit

    Like in WOW MMORPG, the Tank stand in front battling the boss, and DPS classes position themselves behind the tank

    so basically like a guardian shield that is offset to be applied only to units that stand directly behind the caster unit (using the caster units facing)

    I tried messing around with the offsets in the guardian shield create persistent, and also using a behavior to do the periodic search, but it doesnt seem to work

    Any ideas how to do this?

    Last edited Feb 14, 2013 by HatsuneMikuMegurine
    #2 Feb 14, 2013 at 02:41 UTC - 0 likes

    gax3 it has some of the stuff you are looking for. Use it.

    #3 Feb 14, 2013 at 21:21 UTC - 0 likes

    Just have the visual offset behind the unit using a SOp (Local Offset) and have the persistent effect for the damage reduction do the same.

    #4 Feb 15, 2013 at 23:06 UTC - 0 likes

    @DrSuperEvil: Go

    i can do the actor (SOp Local Offset) and get the visuals to be offset

    but i cant find how to do the SoP local offset for effects?

    for example, i made the hero have a

    1. hero has behavior that does a periodic,

    2. this behavior periodic does search area effect,

    3. this search area effect does apply behavior effect

    4. the apply behavior effect puts on the armor buff

    now where do i put the SoP local offset? cause i can do Sop local offset for actors and stuff, but i cant find how to do it for the effects (if using create persistent effect, the periodic offset in that causes the apply behavior to not work at all)

    Last edited Feb 15, 2013 by HatsuneMikuMegurine
    #5 Feb 16, 2013 at 00:54 UTC - 0 likes

    Use the periodic offset on the persistent.

  • 5 posts

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