ok rotkiv i tried urs and it doesnt work...and raven i tried urs, but it only works in some areas of my map....where it did work was near healing well, but the thing is, it stunned my hero and not the units, wat am i doing wrong?
Stun Aura
Events
Time - Every (Random real number between 5.00 and 20.00) seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units within 900.00 of (Position of (Random unit from (Units in (Entire map) matching ((Level of Stun Aura for (Matching unit)) Greater than or equal to 1)))) matching (((Matching unit) has buff Stun Aura ) Equal to True)) and do (Actions)
Loop - Actions
Set randomFactor = (Random integer number between 1 and 4)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
randomFactor Equal to 1
Then - Actions
Unit - Create 1 Dummy Caster for (Owner of (Random unit from (Units within 900.00 of (Position of (Picked unit)) matching ((Level of Stun Aura for (Matching unit)) Greater than or equal to 1)))) at (Position of (Picked unit)) facing Default building facing degrees
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)
Else - Actions
I tested this, and it works. If you can't get it to work, you've done something wrong in the Object Editor. Make sure that your Stun Aura is based of an Aura that effects all units (Such as Devotion Aura, and not an Aura like Brilliance which only effects casters.) Also you need to give your dummy unit a unit target spell with the correct order string. If this still doesn't work for you, I can upload the testing map. (Beta Patch 505)
DemonHunterSXok rotkiv i tried urs and it doesnt work...and raven i tried urs, but it only works in some areas of my map....where it did work was near healing well, but the thing is, it stunned my hero and not the units, wat am i doing wrong?
you probably created the dummy for owner of picked unit, if not then you should check the target option of the storm bolt so that it only affects enemies.
"Raven": for some reason it is not possible to create a dummy for every picked unit, i tried it on several of my own abilities for example i tried to shadow strike all picked units in an area and that also didnt work, it always creates only one dummy and it also only shadow strikes one unit. can you somehow suggest any test map where something like that worked, because i had no mistake in my trigger i checked the trigger like 8 times for mistakes and i couldnt found any. please help
"Moonblaze" your trigger somehow doesnt make much sense in my eyes: Unit Group - Pick every unit in (Units within 900.00 of (Position of (Random unit from (Units in (Entire map) matching ((Level of Stun Aura for (Matching unit)) Greater than or equal to 1)))) matching (((Matching unit) has buff Stun Aura ) Equal to True)) and do (Actions) ??????
and also i dont think it is the best solution to base it on so much random numbers, it should stun when it has to, and not when random factor is 1. i hope you get what i mean.
"DemonHunterSX" when you tell me your email or something i can upload you my version of the aura, it works very solid. i couldnt find any bugs yet.
Yo moon cant get that to work either plz post ur beta so i can c wat im doing wrong, i copied the exact trigger, based my aura on devotion, and made a dummy spell for stun, also made a dummy unit to use the stun ability....still dont work tho, plz post ur map and one more question in ur trigger
Set RandomFactor = (Random integer number between 1 and 4)
wat is that supposed to do?, is it like if the ability level is between the numbers of 1-4 then do actions?
make the dummy cast war stomp/thunder clap witrh no effect art and ther right area,stun length and damage ect. and use a seperate triggger to put in the effects
i improved my trigger over the last days because i kind of liked the idea of the ability, i think it is pretty much exactly what you want now. so tell me where i can upload you my version so we can finally close this case
the problem is i dont have much time to play around, i am pretty busy with my own map right now and i have to work(real work), so if someone knows exactly how to do it please tell me and i will upload as soon as i check the forum again.
i have a problem wiht my java "stuff", so i cant click that field "spell", i dont get a respond when i click, so please give me the direct link into that section.