- Joined
- Apr 12, 2018
- Messages
- 30
I need some help to make my custom spell with triggers, i tried but nothing works.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
What did you try? Post the triggers. How is it supposed to work?![]()
BlizzardWhat ability did you use as a base for Nova arcana? Also check that the spell you give to the dummy has no mana cost
![]()
Stun Snippet Lite v1.0
Stun Snippet Lite IMPORT GUIDE : 1. Enable "Tick the Automatically create unknown variables ..." located at File>Preference>General 2. Copy the StunSnippetLite Folder in the Trigger Editor 3. Configure the StunSnippetLiteConfig trigger according to the comments provided 4. Follow the information...www.hiveworkshop.com
Replace the unit in group actions with the example provided from the system once you add it to your map, I think it will fit nicely assuming you're using 1.31 or higher
Stun AOE

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to AOE Stun

Actions


Set VariableSet Stun_Caster = (Triggering unit)


Set VariableSet Stun_DMG = ((Real((Intelligence of Stun_Caster (Include bonuses)))) x 2.00)


Set VariableSet Stun_Targetpoint = (Target point of ability being cast)


Set VariableSet Stun_AOE = (Units within 400.00 of Stun_Targetpoint matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Stun_Caster).) Equal to True))).)


Unit Group - Pick every unit in Stun_AOE and do (Actions)



Loop - Actions




Unit - Create 1 Stun Dummy for (Owner of Stun_Caster) at Stun_Targetpoint facing Default building facing degrees




Unit - Add AOE Stun to (Last created unit)




Unit - Set level of AOE Stun for (Last created unit) to (Level of AOE Stun for Stun_Caster)




Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)




Unit - Add a 1.00 second Generic expiration timer to (Last created unit)




Unit - Cause Stun_Caster to damage (Picked unit), dealing Stun_DMG damage of attack type Spells and damage type Normal


Custom script: call DestroyGroup(udg_Stun_AOE)


Custom script: call RemoveLocation(udg_Stun_Targetpoint)
You're making a few common mistakes.here you goi also attach a map for you
Stun AOE
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to AOE Stun
Actions
Set VariableSet Stun_Caster = (Triggering unit)
Set VariableSet Stun_DMG = ((Real((Intelligence of Stun_Caster (Include bonuses)))) x 2.00)
Set VariableSet Stun_Targetpoint = (Target point of ability being cast)
Set VariableSet Stun_AOE = (Units within 400.00 of Stun_Targetpoint matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Stun_Caster).) Equal to True))).)
Unit Group - Pick every unit in Stun_AOE and do (Actions)
Loop - Actions
Unit - Create 1 Stun Dummy for (Owner of Stun_Caster) at Stun_Targetpoint facing Default building facing degrees
Unit - Add AOE Stun to (Last created unit)
Unit - Set level of AOE Stun for (Last created unit) to (Level of AOE Stun for Stun_Caster)
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Cause Stun_Caster to damage (Picked unit), dealing Stun_DMG damage of attack type Spells and damage type Normal
Custom script: call DestroyGroup(udg_Stun_AOE)
Custom script: call RemoveLocation(udg_Stun_Targetpoint)
Stun AOE

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to AOE Stun (Hero)

Actions


Set VariableSet Stun_Caster = (Triggering unit)


Set VariableSet Stun_Damage = ((Real((Intelligence of Stun_Caster (Include bonuses)))) x 2.00)


Set VariableSet Stun_Point = (Target point of ability being cast)


Set VariableSet Stun_Group = (Units within 400.00 of Stun_Point matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Stun_Caster).) Equal to True))).)


-------- --------


Unit - Create 1 Stun Dummy for (Owner of Stun_Caster) at Stun_Point facing Default building facing degrees


Set VariableSet Stun_Dummy = (Last created unit)


Unit - Add a 1.00 second Generic expiration timer to Stun_Dummy


Unit - Add AOE Stun (War Stomp) to Stun_Dummy


Unit - Set level of AOE Stun (War Stomp) for Stun_Dummy to (Level of AOE Stun (Hero) for Stun_Caster)


Unit - Order Stun_Dummy to Orc Tauren Chieftain - War Stomp


-------- --------


Unit Group - Pick every unit in Stun_Group and do (Actions)



Loop - Actions




Unit - Cause Stun_Caster to damage (Picked unit), dealing Stun_Damage damage of attack type Spells and damage type Normal


-------- --------


Custom script: call DestroyGroup(udg_Stun_Group)


Custom script: call RemoveLocation(udg_Stun_Point)
Stun AOE

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to AOE Stun (Hero)

Actions


Set VariableSet Stun_Caster = (Triggering unit)


Set VariableSet Stun_Damage = ((Real((Intelligence of Stun_Caster (Include bonuses)))) x 2.00)


Set VariableSet Stun_Point = (Target point of ability being cast)


Set VariableSet Stun_Group = (Units within 400.00 of Stun_Point matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Stun_Caster).) Equal to True))).)


-------- --------


Unit - Create 1 Stun Dummy for (Owner of Stun_Caster) at Stun_Point facing Default building facing degrees


Set VariableSet Stun_Dummy = (Last created unit)


Unit - Add a 1.00 second Generic expiration timer to Stun_Dummy


Unit - Add AOE Stun (Storm Bolt) to Stun_Dummy


Unit - Set level of AOE Stun (Storm Bolt) for Stun_Dummy to (Level of AOE Stun (Hero) for Stun_Caster)


-------- --------


Unit Group - Pick every unit in Stun_Group and do (Actions)



Loop - Actions




Unit - Order Stun_Dummy to Human Mountain King - Storm Bolt (Picked unit)




Unit - Cause Stun_Caster to damage (Picked unit), dealing Stun_Damage damage of attack type Spells and damage type Normal


-------- --------


Custom script: call DestroyGroup(udg_Stun_Group)


Custom script: call RemoveLocation(udg_Stun_Point)
