1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Weave light to take you to your highest hopes - the 6th Special Effect Contest is here!
    Dismiss Notice
  4. Lead your forces to battle in the 15th Techtree Contest. The call is yours, commander!
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

This spell won't work

Discussion in 'World Editor Help Zone' started by Arisato, May 22, 2010.

  1. Arisato

    Arisato

    Joined:
    Dec 17, 2009
    Messages:
    991
    Resources:
    7
    Models:
    1
    Maps:
    4
    Spells:
    1
    Tutorials:
    1
    Resources:
    7
    • 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: May 22, 2010
  2. supertoinkz

    supertoinkz

    Joined:
    Dec 29, 2008
    Messages:
    2,813
    Resources:
    25
    Models:
    15
    Icons:
    7
    Maps:
    1
    Tutorials:
    2
    Resources:
    25
    • Custom script: call my_func(udg_IL_Point1)
    • Custom script: call my_func(udg_IL_Point2)


    Lol? Change it to his:

    • Custom script: call RemoveLocation(udg_IL_Point1)
    • Custom script: call RemoveLocation(udg_IL_Point2)


    And seriously, use loops.
     
  3. Arisato

    Arisato

    Joined:
    Dec 17, 2009
    Messages:
    991
    Resources:
    7
    Models:
    1
    Maps:
    4
    Spells:
    1
    Tutorials:
    1
    Resources:
    7
    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: May 25, 2010
  4. swipe5weep

    swipe5weep

    Joined:
    Mar 22, 2009
    Messages:
    273
    Resources:
    0
    Resources:
    0
    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.
     
  5. FriXionX

    FriXionX

    Joined:
    Aug 1, 2008
    Messages:
    401
    Resources:
    0
    Resources:
    0
    I dont know if this will fix it, change the condition the other way round

    • Conditions
    • (Ability Being Cast) Equal to Icarus Punishment
     
  6. Arisato

    Arisato

    Joined:
    Dec 17, 2009
    Messages:
    991
    Resources:
    7
    Models:
    1
    Maps:
    4
    Spells:
    1
    Tutorials:
    1
    Resources:
    7
    HOLY ZHIG thankyou!!

    i'll post some of my spells here when i got problems, so stay tuned in

    this forum!