Mass Ensare spell doesnt work :/

mAhla

New Member
Reaction score
0
Any idea what is wrong with this spell ? It creates dummy unit and caster is casting the spell all the time, but no1 gets ensared :/ My quess is on Unit Group, but I cant find the problem..

Trigger:
  • Ensare
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Mass Ensare
    • Actions
      • Set TempPoint = (Target point of ability being cast)
      • Set TempReal = 500.00
      • Set Temp_Group = (Units within TempReal of TempPoint matching (((Triggering unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))
      • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
      • Set TempUnit = (Last created unit)
      • Unit - Add a 5.00 second Generic expiration timer to TempUnit
      • Unit - Add Dummy Ensare to TempUnit
      • Unit Group - Pick every unit in Temp_Group and do (Actions)
        • Loop - Actions
          • Unit - Order TempUnit to Orc Raider - Ensnare (Picked unit)
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Custom script: call DestroyGroup(udg_Temp_Group)
 

Aiden

Member
Reaction score
0
and if you use stomb skill ?
change the range of area skill to 300-400
and art animation to ensare and his buff.
may works
 

hopy

Active Member
Reaction score
64
Any idea what is wrong with this spell ? It creates dummy unit and caster is casting the spell all the time, but no1 gets ensared :/ My quess is on Unit Group, but I cant find the problem..

Trigger:
  • Ensare
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Mass Ensare
    • Actions
      • Set TempPoint = (Target point of ability being cast)
      • Set TempReal = 500.00
      • Set Temp_Group = (Units within TempReal of TempPoint matching (((Triggering unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))
      • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
      • Set TempUnit = (Last created unit)
      • Unit - Add a 5.00 second Generic expiration timer to TempUnit
      • Unit - Add Dummy Ensare to TempUnit
      • Unit Group - Pick every unit in Temp_Group and do (Actions)
        • Loop - Actions
          • Unit - Order TempUnit to Orc Raider - Ensnare (Picked unit)
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Custom script: call DestroyGroup(udg_Temp_Group)

The reason this doesn't work is: You're making 1 dummy unit cast multiple dummy spells at once, I don't think that's posible with Ensare.
What you will need to do is: Add everything from 'Dummy unit creation' to 'Expiration timer' to the Unit Group Loop.
Trigger:
  • Ensare
    • Events
      • Unit - A unit starts an effect ofan ability
    • Conditions
      • (Ability being cast) Equal to Mass Ensare
    • Actions
      • Set TempPoint = (Target point of ability being cast)
      • Set Temp_Group = (Units within 500.00 of TempPoint matching ((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))
      • Unit Group - Pick every unit in Temp_Group and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
          • Unit - Add Dummy Ensare to (Last created unit)
          • Unit - Order (Last created unit) to Orc Raider - Ensnare (Picked unit)
          • Unit - Add a 5.00 second Generic expiration timer to TempUnit
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Custom script: call DestroyGroup(udg_Temp_Group)

I also removed 'TempUnit' and 'TempReal', those don't leak and will not have to be added to variables.

If it still doesn't work:
1. Are you sure 'Mass Ensnare' targets a point, not a unit? (what's it based off).
2. Is Dummy Ensnare based off Ensnare?

Also, another thing I noticed is: I think you spelled 'Ensnare' wrong in your ability names, your say 'Ensare' while I believe it's supposed to be 'Ensnare' (an extra N).

and if you use stomb skill ?
change the range of area skill to 300-400
and art animation to ensare and his buff.
may works
1. Stum != Ensnare
2. War Stomp doesn't have a missile art, Ensnare does.

======EDIT======
Also, as OWN3D pointed out, try using 'Starts the effect of an ability' rather then 'Begins Casting and Ability', the reason for this is basicly because Begins Casting can be abused by some stuff.
 

0WN3D

New Member
Reaction score
15
Try using
Trigger:
  • Unit - A unit starts an effect ofan ability

instead of
Trigger:
  • Unit - A unit Begins casting an ability

thats is not the real cause of the problem....
It is here...
Trigger:
  • Set Temp_Group = (Units within TempReal of TempPoint matching (((Triggering unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))

U used the wrong unit..... it shld be
Trigger:
  • Set Temp_Group = (Units within TempReal of TempPoint matching (((MATCHING unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))

Edit: woah a few minute earlier than sephiroth(hopy) anyway his reason stand and so does mine... I think is cause by both using single unit to cast spell and your condition
 

NeuroToxin

New Member
Reaction score
46
The problem is in your group AOE, you're using triggering unit, not matching unit. It needs to be matching, as the triggering unit is the one who casted the spell.
 

mAhla

New Member
Reaction score
0
I tryed all these ideas.. But it still doesnt work :/ 'Mass Ensare' spell is based on Rain of Fire, and Dummu Ensare is based on Ensare spell. Any suggestions ?
 

hopy

Active Member
Reaction score
64
I tryed all these ideas.. But it still doesnt work :/ 'Mass Ensare' spell is based on Rain of Fire, and Dummu Ensare is based on Ensare spell. Any suggestions ?

Post your new triggers please
 

mAhla

New Member
Reaction score
0
Trigger:
  • Ensare
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Rain of Fire (Neutral Hostile 1)
    • Actions
      • Set Caster = (Casting unit)
      • Set TempPoint = (Target point of ability being cast)
      • Set Temp_Group = (Units within 500.00 of TempPoint matching (((Matching unit) belongs to an enemy of (Owner of Caster)) Equal to True))
      • Unit Group - Pick every unit in Temp_Group and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
          • Unit - Add Dummy Ensare to (Last created unit)
          • Unit - Order (Last created unit) to Orc Raider - Ensnare (Picked unit)
          • Unit - Add a 5.00 second Generic expiration timer to TempUnit
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Custom script: call DestroyGroup(udg_Temp_Group)
 

NeuroToxin

New Member
Reaction score
46
(Casting unit) is known to have some bugs, use triggering unit.
And, is the ensnare spell CD free, no mana cost, etc?
 

mAhla

New Member
Reaction score
0
Fixed Casting unit. And ensnare spell doesnt have CD, doesnt cost mana, has long cast range and its based on Orc's raider's Ensnare. :/
 

mAhla

New Member
Reaction score
0
OH TROLLD. Sorry guys, I forgot to remove Requirements. So dummy couldnt cast it cause upraged wasnt done, damn me. :banghead::banghead:
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top