• 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] There is no error but dosent work

Status
Not open for further replies.
Level 7
Joined
May 18, 2010
Messages
264
Custom Script wrong?it just insane

  • Chilling Wind Copy
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to |cfff0e68cChiling Wind|r
    • Actions
      • Set ChillingWind_Unit = (Triggering unit)
      • Set ChillingWind_Point = (Target point of ability being cast)
      • Set ChilingWindG = (Random 3 units from (Units within 300.00 of ChillingWind_Point matching (((Matching unit) belongs to an ally of (Owner of ChillingWind_Unit)) Equal to True)))
      • Unit Group - Pick every unit in ChilingWindG and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + (((Real((Level of |cfff0e68cChiling Wind|r for ChillingWind_Unit))) x 10.00) + 35.00))
          • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
      • Custom script: call DestroyGroup(udg_ChilingWingG)
      • Custom script: call RemovePoint(udg_ChilingWind_Point)
EDIT: excuse me but OMFGGGGGGGGGG im stomping my Ballz atm RAWRRRR
call DestroyGroup(udg_ChilingwingG) isent working srsly cant save map it says UNABLE TO SAVE error in jas script WHAT The heck i rechecked rewrited 100 times i look tutorials and stuff it should be right or em i going INSANE????
Custom script: call RemoveLocation(udg_ChillingWind_Point)
it works i got that far but how to CLEAR the group it's a massive leak
 
Last edited:
Level 14
Joined
Apr 20, 2009
Messages
1,543
  • Chilling Wind Copy
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to |cfff0e68cChiling Wind|r
    • Actions
      • Set ChillingWind_Unit = (Triggering unit)
      • Set ChillingWind_Point = (Target point of ability being cast)
      • Set ChilingWindG = (Random 3 units from (Units within 300.00 of ChillingWind_Point matching (((Matching unit) belongs to an ally of (Owner of ChillingWind_Unit)) Equal to True)))
      • Unit Group - Pick every unit in ChilingWindG and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + (((Real((Level of |cfff0e68cChiling Wind|r for ChillingWind_Unit))) x 10.00) + 35.00))
          • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
      • Custom script: call DestroyGroup(udg_ChilingWingG)
      • Custom script: call RemovePoint(udg_ChilingWind_Point)
EDIT: excuse me but OMFGGGGGGGGGG im stomping my Ballz atm RAWRRRR
call DestroyGroup(udg_ChilingwingG) isent working srsly cant save map it says UNABLE TO SAVE error in jas script WHAT The heck i rechecked rewrited 100 times i look tutorials and stuff it should be right or em i going INSANE????
Custom script: call RemoveLocation(udg_ChillingWind_Point)
it works i got that far but how to CLEAR the group it's a massive leak

I know its a little bit late... But you did make a spelling mistake :p

call DestroyGroup(udg_ChilingWingG)

should be:

call DestroyGroup(udg_ChillingWindG)

ofcourse it doesn't work if your not using the right variable xD

also, your special effect should be set to a variable and destroyed. If you want to use it for a longer period of time you can destroy the effect in another trigger ofc..
 
Level 7
Joined
May 18, 2010
Messages
264
OMG so helpfull chouldnt fix tha
chiLLing wind
Dude i have 2ll that why my custom script killing me
well im kinda blind so .
 
Status
Not open for further replies.
Top