• 0

    posted a message on Weekly Terraining Exercise #8: Mar Sara Blues

    Rainy Day

    A rainy day on the wastelands.

    Posted in: Terrain
  • 0

    posted a message on How do you simulate "Bring" from original SC

    @oblivioneop: Go

    Here are some clues how you could do this. You could run a periodic trigger every few minutes that would do the following action :

    Pick each unit in unit group

    Set the "unit group" to "units in region matching condition"

    The specified region would be the region around your city (if you have multiple cities, you might have to run this trigger a few times, changing the specified region each time)

    Matching condition : Structure Required and Missile, Dead, Hidden, Excluded

    And the action for each unit is to increase the player's money using Modify Player Property

    Posted in: Triggers
  • 0

    posted a message on Applying an Aura to a unit - Easy Difficulty
    Quote from xeonsam: Go

    need some help, i make a few aura but i want them to activate one at a time (like diablo 2 paladin aura).

    example: Aura B is activated and when Aura A activate it will auto deactivate Aura B.

    thanks for the great tutorial.

    This is a bit more complex to do, but I'll try to guide you the best I can. This is how I would do it, there may however be other ways around.

    For each Aura you want, create 2 effects : one Apply Behavior and one Remove Behavior. Make each one apply/remove the Aura behavior (not the buff behavior). Also, make each one target the caster by setting the field Unit - Unit + to Caster.

    Next, Auras will need to be activated with Abilities for this to work. Let's say I want to create the ability to activate Aura A. Create a new ability (and a new button to go with it) using the ability type Effect - Instant.

    Next, create a new effect with the effect type Set. A Set Effect is a combinaison of multiple effects. Go to your Set Effect and go to the Effect - Effects field. Add the Apply Behavior Effect for Aura A and the Remove Behavior Effect for Aura B. Finally, go to your Ability, to the Effect - Effect field and link it to your Set Effect.

    Taa daa, you now have an ability that adds the Aura A to your unit and removes the Aura B. Repeat this for your Aura B, and C, and D, and etc... Make sure that if say, an ability turns on Aura A, it remove all your other Auras (B, C, D, etc), not just Aura B.

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