• 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.

[Trigger] Condition Error

Status
Not open for further replies.
Level 7
Joined
Sep 2, 2006
Messages
148
Hi, I'm having some trouble lately with a certain condition.

Here is the setting:
  • Events - A spell is being cast
  • Conditions - (Ability being cast) equal to Animate Dead
  • Actions
  • Set TEMP_UNIT = (Casting Unit)
  • If (All Conditions are True) then do (Then Actions) esle do (Else Actions)
  • If - Conditions
  • (Level Of Animate Dead For TEMP_UNIT) equal to 1
And the last part with the level of the ability is the part where it goes wrong.

If I create the condition an press "OK" it says error.

I still haven't figured it out so far, so I was wondering if you could help me?
 
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

  • Animated Death
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Animate Dead
    • Actions
      • Set TEMP_UNIT = (Casting unit)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Animate Dead for TEMP_UNIT) Equal to 1
        • Then - Actions
        • Else - Actions
If you use this ( somehow your trigger looks like that or not... ) you can be sure, that this trigger won't create a crush if:

1) You use an old and bugged editor.
2) You use some editor tools I don't know and the force the crush
3) Your editor is broken so you need to reinstall it.

--> Else there is NO! way, why the editor should shut down at this trigger (condition)
 
Level 7
Joined
Sep 2, 2006
Messages
148
Else there is NO! way, why the editor should shut down at this trigger (condition)

I totally agree with you at this one. I was suprised in the first place, but then I started to lose my temper with it :)

I started with using UMSWE and advanced with WEU. Perhaps those two in combo failed.

But I'll try and remove it completely from my computer and see which one is best...

Wish me luck.

And thanks for the advice.
 
Level 7
Joined
Sep 2, 2006
Messages
148
Lol, I solved the problem.

It had something to to with the we of wc3 itself. Because when I reinstalled the lot the error didn't occur anymore.

It was probably the UMSWE in combo with the 1.20 ver of WEU that stirred the wc3 editor up.

Sorry for the trouble guys ;)
 
Status
Not open for further replies.
Top