• 🏆 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!

This spell won't work

Status
Not open for further replies.
Level 18
Joined
Dec 17, 2009
Messages
1,114
  • Hello there my friends
  • im a bit confused about my triggers!!!
  • please do check, if anything is wrong with it
  • please ok!

The map won't work/can't be played because of this trigger, i'm damn confused, this trigger supposed to work though ,

it has leaks?? i think it is
is it efficient?? i think it is

so here's the trigg

  • Icarus Punishment
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • Icarus Punishment Equal to (Ability being cast)
    • Actions
      • Set IL_Caster = (Casting unit)
      • Set IL_Target = (Target unit of ability being cast)
      • Set IL_SpecialEffect = (Position of IL_Target)
      • For each (Integer A) from 1 to 50, do (Actions)
        • Loop - Actions
          • Unit - Pause IL_Target
          • Unit - Pause IL_Caster
          • Animation - Play IL_Caster's Attack animation
          • Animation - Play IL_Target's Death animation
          • Special Effect - Create a special effect at IL_SpecialEffect using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
          • Special Effect - Destroy (Last created special effect)
          • Unit - Unpause IL_Caster
          • Unit - Unpause IL_Target
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Icarus Punishment for IL_Caster) Equal to 1
            • Then - Actions
              • Unit - Cause IL_Caster to damage IL_Target, dealing 3.90 damage of attack type Spells and damage type Normal
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of Icarus Punishment for IL_Caster) Equal to 2
                • Then - Actions
                  • Unit - Cause IL_Caster to damage IL_Target, dealing 5.10 damage of attack type Spells and damage type Normal
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Level of Icarus Punishment for IL_Caster) Equal to 3
                    • Then - Actions
                      • Unit - Cause IL_Caster to damage IL_Target, dealing 7.10 damage of attack type Spells and damage type Normal
                    • Else - Actions
                      • Do nothing
          • Wait 0.08 seconds
      • Set IL_Caster = No unit
      • Set IL_Target = No unit
      • Custom script: call RemoveLocation( udg_IL_SpecialEffect )

anything wrong with this?:bored:
 
Last edited:
Level 18
Joined
Dec 17, 2009
Messages
1,114
OW MAI GOD!!!

OH MY GOD HOW STUPID AM I!??!!??!!?


OH I SHOULD AND I MUST AND I WILL THANK YOU YOU supertoinks!

oh that went wrong without noticing it for 2 hours A_A thankyou!:grin::grin::grin::grin::grin:

EDIT:

err , it still wont work, my problem is that the map cannot be created in a game! when i pressed test map, then i loads, then it wont start,
then it moves back to the title screen again!
 
Last edited:
Level 6
Joined
Mar 22, 2009
Messages
276
Maybe your map contains functions which are not compatible with the version of Warcraft3 you are using. An example is the return bug which was fixed from 1.24b version.
 
Status
Not open for further replies.
Top