SC2Mapster Forums

Development > Data

Color beam if caster has buff

  • 12 posts
    #1 Dec 07, 2012 at 02:01 UTC - 0 likes

    I've tried validate unit, but don't know what event put there (attacking unit doesn't work - it's weapon).

    #2 Dec 07, 2012 at 21:14 UTC - 0 likes

    Just edit the Beam (Simple) actor and add an event setup of Behaviour.blah.On with the At term before your Set tint colow or texture select by id action.

    #3 Dec 07, 2012 at 22:09 UTC - 0 likes

    Problem is that Behavior.blah.On event don't have At term.

    Tried something like (and many others, but this imo should work) -ActorCreation -ValidateUnit (validator checking if caster have buff) -SetTint color but validator fails

    #4 Dec 07, 2012 at 22:12 UTC - 0 likes

    @ShadowDancer93: Go

    jjust right click, add term, and put At caster.

    @SrSuperEvil

    He cant texture select it either, Since most of the beams use the alpha to create a glow that is the majority of the beam.

    Last edited Dec 07, 2012 by Taintedwisp

    my maps will always be Free. and Available to the public at the earliest possible date.

    If you need a tester feel free to ask IShadowWolf.258

    You can also catch me on the IRC most times.

    #5 Dec 07, 2012 at 23:23 UTC - 0 likes

    Try it out first ;) You cannot add every term to every actor event. For the behavior events, the at term is not available. You could add it in raw data, but it would probably have no effect, since it probably has a reason to not show up in the list.

    http://img577.imageshack.us/img577/4226/blaj.jpg

    #6 Dec 07, 2012 at 23:45 UTC - 0 likes

    Y not just make two actors. Of different colored beams. And one of them fires when the buff is active, and the other fire when the buff is no active.

    Current Project: MangledMind's Impossible Bosses

    8 Heroes, 4 abilties each

    1 Boss (Normal/Impossible Mode)

    PvP Arena - All skill shots

    #7 Dec 08, 2012 at 02:18 UTC - 0 likes

    Hah, that's the problem, detect when buff is active ;) I've remade whole ability to have 2 versions, with buff and without - not good, but working.

    #8 Dec 08, 2012 at 19:58 UTC - 0 likes

    Could you not just model swap the beam actor when buff is on?

    #9 Dec 08, 2012 at 20:40 UTC - 0 likes

    Yep, but whole problem is to discover when buff is on ;)

    There is no At term in behavior event.

    #10 Dec 08, 2012 at 22:53 UTC - 0 likes

    Isn't it possible to validate the caster with a term to see if it has the buff and if so model swap?

    Assistant Team Leader of "Generic Code" and User of the All-Mighty Data Editor.

    My Amazing Cutscenes

    #11 Dec 09, 2012 at 00:30 UTC - 0 likes

    @ShadowDancer93: Go

    Try just using a validator in a validate unit term

    EDIT: Love it when someone answers while I'm writing so that I get the "new post was made" error message, but already tabbed out so I dont see it until 3 hours later

    Projects: Starmon - RuneCraft
    http://i.imgur.com/1jpXAne.png

    #12 Dec 09, 2012 at 01:03 UTC - 0 likes

    @Spoolofwhool: Go

    Apparently not. Maybe behavior don't proc caster or what?

  • 12 posts

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