• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your 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