• 0

    posted a message on I need help

    thanks for the help and yes i am a wc3 modder :P but the reason im doing this in a trigger is because and percentage in which i need stackcount that show in the unit UI where the kill counter now is.

    ps: help on this is also appreciated and im not going to buy you free drinks at my job i alrdy get them for free (aftherwards)

    Posted in: Triggers
  • 0

    posted a message on I need help

    hello im not that good with triggers and i can't seem to find out what is wrong with this trigger

            Environment - Player (Triggering Effect Unit Owner(Caster)) uses Effect Unit Growth
        Local Variables
            Stackcount = 0 <Integer>
            Life(V) = 0.0 <Real>
        Conditions
        Actions
            Variable - Set Stackcount = (Stack count of Growth Stacking on (Triggering Effect Unit(Source)))
            Variable - Set Life(V) = (100.0 + (10.0 * (Real(Stackcount))))
            Unit - Set (Triggering Effect Unit(Source)) Life (Percent) to (100.0 + Life(V))
    

    keep in mind that nothing is wrong with event because this trigger does work

    Growth
        Events
            Environment - Player (Triggering Effect Unit Owner(Caster)) uses Effect Unit Growth
        Local Variables
            Stackcount = 0 <Integer>
            Scale = 0.0 <Real>
        Conditions
        Actions
            Variable - Set Stackcount = (Stack count of Growth Stacking on (Triggering Effect Unit(Source)))
            Variable - Set Scale = (50.0 + (0.5 * (Real(Stackcount))))
            Unit - Set (Triggering Effect Unit(Source)) scale to (Scale%, Scale%, Scale%) of its original size
    
    Posted in: Triggers
  • To post a comment, please or register a new account.