• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Spell to Make Trees?

Status
Not open for further replies.
Level 1
Joined
Jul 21, 2009
Messages
2
Is there a way to have a ground target spell, preferable an area of effect spell, that will make trees grow there?

I have had trouble finding the answer any help would be great. Thank you. :-D
 
Level 20
Joined
Oct 21, 2006
Messages
3,230
  • Grow Trees
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Grow Trees
    • Actions
      • Set Point1 = (Target point of ability being cast)
      • Destructible - Pick every destructible within 200.00 of Point1 and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked destructible) is dead) Equal to True
              • Or - Any (Conditions) are true
                • Conditions
                  • (Destructible-type of (Picked destructible)) Equal to Ashenvale Tree Wall
                  • (Destructible-type of (Picked destructible)) Equal to Ashenvale Canopy Tree
            • Then - Actions
              • Set Point2 = (Position of (Picked destructible))
              • Special Effect - Create a special effect at Point2 using Objects\Spawnmodels\NightElf\EntBirthTarget\EntBirthTarget.mdl
              • Destructible - Resurrect (Picked destructible) with (Max life of (Picked destructible)) life and Show birth animation
            • Else - Actions
      • Custom script: call RemoveLocation(udg_Point1)
Oh and you also need to destroy the special effect or it leaks. You can find more about leaks from the triggers section.
 
Level 1
Joined
Jul 21, 2009
Messages
2
Hmm

I understand what that script is saying and how it would work, but I am not that good at using them and don't know how to get them to work with a spell. Could you give me some info on that or tell me where I could find it? That would be great.

I have been using the editor a lot lately but have stayed away from triggers almost entirely.
 
Status
Not open for further replies.
Top