• 0.95016134815346

    posted a message on Health % based Triggers

    Cheers both, i'm sure its not the cleanest way of getting the job done but i've managed to get it working with your advise pointing me in the right direction. Cheers for your suggestion too BaneBurst. 

     

    I now have a fully fuctional boss battle for my map with 4 phases per 25% health lost. 👌

    Posted in: Triggers
  • 0

    posted a message on Health % based Triggers

    That worked a treat MaskedImposter, following your advise and watching an extra vid from OneTwoSC now I know with your advisse that while loops would be the key, I have got my code working. (couldn't find the "If units alive" command as of yet but still it works. )

     

    Cheers for your help.

     

    Luke.

    Posted in: Triggers
  • 0

    posted a message on Health % based Triggers

    Cheers MaskedImposter. Ill give that a go and let you know the result. 👍

    Posted in: Triggers
  • 0

    posted a message on Health % based Triggers

    Hi All, hope someone can help. I'm pretty new to Map Editing and coding in general so my understanding is pretty much limited to "If this > Then That"

     

    I have created most of a custom mission map but as others have done in the past, when it comes to Boss fights I want to setup a trigger that goes something like "If Boss Health is =< 75% of max health, then Stop Trigger X and activate trigger Y. I have looked in the Trigger action menu's for this type of trigger command, looked at the SC2 Mapster WIKI and well as a few forum posts here, but can't seem to find the correct execution of code. I'm sure I've just missed a guide or forum post for this so if anyone knows out right or can point me in the direction of a guide to follow that'll be brill.

     

    Heres what I attempted so far with my limited knowledge of Variables. (which unfortunately the trigger seems to skip, so the trigger complete as soon as the units health changes rather than at 75%. )

     

    Cheers for any Help - Luke.

    Posted in: Triggers
  • To post a comment, please or register a new account.