• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Northrend Undead Building Birth

Made for The Hive Workshop's SFX Competition #1.

Give credits to Pyritie if you use this.

How to add to your map:
Pyritie;495337 said:
You could always just use some basic triggers. Make a dummy unit with this SFX, then when a player builds a building, change the building to 100% transparency, create this SFX unit, play its birth animation, then when the building is done being constructed, you change it to 0% transparency and remove the SFX unit.

Alternatively...

Pyritie said:
No no no. Okay. I'll give you an example.

You are making a TD, and you have three towers that need this frost undead birth model. One of them takes 20 seconds to build, one takes 30 seconds, and one takes 50 seconds. So then you do this:

SFX is a Special Effect variable and Building is a unit variable.

  • Events
    • Unit - A unit starts construction
  • Conditions
    • Or - Multiple Functions
      • (Unit type of (Constructing structure)) is equal to Tower (20secs)
      • (Unit type of (Constructing structure)) is equal to Tower (30secs)
      • (Unit type of (Constructing structure)) is equal to Tower (50secs)
  • Actions
    • Custom script: local effect udg_SFX
    • Custom script: local unit udg_Building
    • Set Building = (Constructing Structure)
    • Animation - Set vertex shading of Building to 100.00, 100.00, 100.00, 0.00
    • Special Effect - Create a special effect on the origin of Building using war3mapImported\UBirth.mdx [[or whatever the path of the birth model is]]
    • Set SFX = (Last created special effect)
    • If Then Else - Multiple Functions
      • If - Conditions
        • (Unit type of (Building)) is equal to Tower (20secs)
      • Then - Actions
        • Wait 20.00 seconds
      • Else
        • If Then Else - Multiple Functions
          • If - Conditions
            • (Unit type of (Building)) is equal to Tower (30secs)
          • Then - Actions
            • Wait 30.00 seconds
          • Else
            • If Then Else - Multiple Functions
              • If - Conditions
                • (Unit type of (Building)) is equal to Tower (50secs)
              • Then - Actions
                • Wait 50.00 seconds
              • Else
    • If Then Else - Multiple Functions
      • If - Conditions
        • (Building is alive) equal to True
      • Then - Actions
        • Special effect - Destroy SFX
        • Animation - Set vertex shading of Building to 100.00, 100.00, 100.00, 100.00
      • Else - Actions
Keep in mind that if the building is destroyed or if it is canceled, the building will be destroyed and so will the effect (but only if you attach it to the building, NOT make it at where the building is), even if the 20/30/50 seconds are not finished yet.

Keywords:
frost, undead, building, birth, northrend, cold, ice
Contents

Northrend Undead Building Birth (Model)

Reviews
General Frank: Simple and very nice looking birth animation. I approve.
Top