• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Two questions

Status
Not open for further replies.
Level 11
Joined
Jun 20, 2009
Messages
879
So i have two questions concerning my map:

1. I tried to make auto-casting Inferno spell, so i used Fairie Fire as dummy spell. But why doesnt it cast it? And that unit belongs to neutral hostiles.



2. I want to add abilities to spellbook. When i pick a tome, which should add a spell, the game crashes. The spell is called "Demonic Blade".

  • Demonic Blade
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Tome of Demonic Blade
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Demonic Blade for (Triggering unit)) Equal to 0
        • Then - Actions
          • Unit - Add Demonic Blade BOOK to (Triggering unit)
        • Else - Actions
          • Unit - Set level of Demonic Blade for (Triggering unit) to ((Level of Demonic Blade for (Triggering unit)) + 1)

:grin: Thx for help! :grin:
 
Status
Not open for further replies.
Back
Top