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

[JASS] Syntax Error ><

Status
Not open for further replies.
Level 10
Joined
Jan 21, 2007
Messages
576
Alright im making an AOS map and i've run into an annoying problem.

I have this trigger:

  • TF Damage Heal
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff Thunder Fists ) Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Thunder Fists for (Attacking unit)) Equal to 1
        • Then - Actions
          • Set L = (Position of (Casting unit))
          • Custom script: set bj_wantDestroyGroup = true
          • Unit Group - Pick every unit in (Units within 512.00 of L matching (((Matching unit) belongs to an ally of (Owner of (Attacking unit))) Equal to True)) and do (Actions)
            • Loop - Actions
              • Unit Group - Add (Picked unit) to Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 20.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 20.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
          • Custom script: call RemoveLocation(udg_L)
          • Set L = (Position of (Casting unit))
          • Custom script: set bj_wantDestroyGroup = true
          • Unit Group - Pick every unit in (Units within 512.00 of L matching (((Matching unit) belongs to an ally of (Owner of (Attacking unit))) Equal to False)) and do (Actions)
            • Loop - Actions
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Add (Picked unit) to Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 20.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 20.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Items\OrbVenom\OrbVenomSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Thunder Fists for (Attacking unit)) Equal to 2
        • Then - Actions
          • Set L = (Position of (Casting unit))
          • Custom script: set bj_wantDestroyGroup = true
          • Unit Group - Pick every unit in (Units within 512.00 of L matching (((Matching unit) belongs to an ally of (Owner of (Attacking unit))) Equal to True)) and do (Actions)
            • Loop - Actions
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Add (Picked unit) to Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 40.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 40.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 40.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
          • Set L = (Position of (Casting unit))
          • Custom script: set bj_wantDestroyGroup = true
          • Unit Group - Pick every unit in (Units within 512.00 of L matching (((Matching unit) belongs to an ally of (Owner of (Attacking unit))) Equal to False)) and do (Actions)
            • Loop - Actions
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Add (Picked unit) to Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 40.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 40.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 40.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Thunder Fists for (Attacking unit)) Equal to 3
        • Then - Actions
          • Set L = (Position of (Casting unit))
          • Custom script: set bj_wantDestroyGroup = true
          • Unit Group - Pick every unit in (Units within 512.00 of L matching (((Matching unit) belongs to an ally of (Owner of (Attacking unit))) Equal to True)) and do (Actions)
            • Loop - Actions
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Add (Picked unit) to Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 60.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 60.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 60.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 60.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
          • Set L = (Position of (Casting unit))
          • Custom script: set bj_wantDestroyGroup = true
          • Unit Group - Pick every unit in (Units within 512.00 of L matching (((Matching unit) belongs to an ally of (Owner of (Attacking unit))) Equal to False)) and do (Actions)
            • Loop - Actions
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Add (Picked unit) to Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 60.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 60.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 60.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 60.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Thunder Fists for (Attacking unit)) Equal to 4
        • Then - Actions
          • Set L = (Position of (Casting unit))
          • Custom script: set bj_wantDestroyGroup = true
          • Unit Group - Pick every unit in (Units within 512.00 of L matching (((Matching unit) belongs to an ally of (Owner of (Attacking unit))) Equal to False)) and do (Actions)
            • Loop - Actions
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Add (Picked unit) to Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 80.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 80.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 80.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 80.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
              • Set Unit_Ability_TF[1] = (Random unit from Group_Ability_TF[1])
              • Unit - Set life of Unit_Ability_TF[1] to ((Life of Unit_Ability_TF[1]) + 80.00)
              • Set L = (Position of Unit_Ability_TF[1])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[1] from Group_Ability_TF[1]
          • Set L = (Position of (Casting unit))
          • Custom script: set bj_wantDestroyGroup = true
          • Unit Group - Pick every unit in (Units within 512.00 of L matching (((Matching unit) belongs to an ally of (Owner of (Attacking unit))) Equal to False)) and do (Actions)
            • Loop - Actions
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Add (Picked unit) to Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 80.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 80.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 80.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 80.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
              • Set Unit_Ability_TF[2] = (Random unit from Group_Ability_TF[2])
              • Unit - Set life of Unit_Ability_TF[2] to ((Life of Unit_Ability_TF[2]) - 80.00)
              • Set L = (Position of Unit_Ability_TF[2])
              • Special Effect - Create a special effect at L using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_L)
              • Unit Group - Remove Unit_Ability_TF[2] from Group_Ability_TF[2]
        • Else - Actions

EDIT: Trigger isrking now, re-uploaded trigger. BUT
Hurray! A new problem arises. Howcome when i attack with the buff i dont damage/heal surounding enemies/allies, and i dont see special effects?
 

Attachments

  • Error - Syntax.JPG
    Error - Syntax.JPG
    146.9 KB · Views: 139
Last edited:
Level 21
Joined
Jan 5, 2005
Messages
3,515
well as im sure you know the custom script part is causing the error, isnt custom script when you insert a piece of jass code in? i dont know what the problem with it is, but this thread should be in the jass section if thats what a custom script it so jass peple can help u with it. they might not see the thread in here.
 
Level 10
Joined
Jan 21, 2007
Messages
576
Well i figured i'd post it here do to the fact that the trigger is 99.9% gui but i guess. Should i make a new thread there or should i request this be moved?
 
Level 10
Joined
Jan 21, 2007
Messages
576
*NO LONGER REQUIRESFORUM MOVEMENT*

See op for a new question lol. ^
 
Last edited:
Level 2
Joined
May 31, 2007
Messages
20
What you want exactly, you want the attacker to "cast" a holy light every time he got the buff, right?
The holy light should damage all enemys and heal all allys for 20*Level hp, why do you make such a long trigger for those kind of simple spells?
Correct me if i missed any point.
Well, i retriggered the Spell and that's how i've written it. (i prefer writting such things in JASS, but i'm not sure if you can read/write JASS, because you wouldn't have used such many if/then/else for an easy calculation)
  • TF Damage Heal
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff Thunder Fist) Equal to True
    • Actions
      • Set tmp_point = (Position of (Attacking unit))
      • Set tmp_group = (Units within 512.00 of tmp_point)
      • Custom script: call RemoveLocation(udg_tmp_point)
      • Unit Group - Pick every unit in tmp_group and do (Actions)
        • Loop - Actions
          • Set tmp_point = (Position of (Picked unit))
          • Custom script: call DestroyEffect(AddSpecialEffectLoc("Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl",udg_tmp_point))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • IF - Conditions
              • ((Picked unit) belongs to an ally of (Owner of (Attacking unit))) Equal to True
            • THEN - Actions
              • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + (20.00 x (Real((Level of Thunder Fist for (Attacking unit))))))
            • ELSE - Actions
              • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - (20.00 x (Real((Level of Thunder Fist for (Attacking unit))))))
          • Custom script: call RemoveLocation(udg_tmp_point)
      • Custom script: call DestroyGroup(udg_tmp_group)
 
Level 10
Joined
Jan 21, 2007
Messages
576
I understand the basic logic of jass but theres no way in hell i could write a spell in jass. I also realize the trigger couldd be 200x smaller with damaging them for 20 x level but i was not sure if i wanted to do incremental damage (like maybe have it damage for 20/25/30/35 (wich i now realize could also be done by that that but i hope you see my point....lol)). My problem was, i dont see why the trigger on the op doesnt work...it just doesnt lol and it pisses me off. But once its 11:00 here il get off my basement comp (no we down here) and go upstairs and see if your trigger does what i want it to (should. (My mom doesnt want me on till its 11, cuz im grounded sorta, its 10:08 right now so >.>. Anyways much thanks to all who replied (but if someone could tell me why the trigger in op doesnt work id be much more at ease ;))

Basicaly my real qeuestion was why that trigger didnt work because it looked like it should.

EDIT: Btw in gui when destroying special effect sometimes you need variables if the special effect is long enough does:

  • Custom script: call DestroyEffect(AddSpecialEffectLoc("Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl",udg_tmp_point))
Create the special effect then wait till its done then destroy it?
 
Level 10
Joined
Jan 21, 2007
Messages
576
But diablo, if a special effect is created in gui and it lasts like 2 seconds but you do delete last created special effect right afer you create the effect it deletes the spec effect befor eit finishs its animation, thankyou for the answer i dont know how i missed such a stupid mistake.

EDIT: Btw thankyou operator.

Can anyone tell me (map made in WeNewGenPack) why when i hit test on my map, but then it reloads wc3 to the main screen (where you can choose battlnet or singleplayer and stuff). This has happened before and its annoying an answer would be GREATLY appreaciated.
 
Level 10
Joined
Jan 21, 2007
Messages
576
Well someone told me that before, and told me to save it before i test it, and i still got the problem. Then out of no-where i will be able to test it, its annoying.
 
Status
Not open for further replies.
Top