(>^^)> Ayumi's Question Thread <(^^<)

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> Dont tell me there is an activate/deactivate ability in triggers

There is, but it's under "player", which means it will disable the ability for all units of that player...


As for the techtree thingy... it should work though.
I would use "Unit - remove" instead of "Unit - kill".
What ability did you use, and what unit did you use as requirement?
 

W!†A_cRaft

Ultra Cool Member
Reaction score
28
> Dont tell me there is an activate/deactivate ability in triggers

There is, but it's under "player", which means it will disable the ability for all units of that player...


As for the techtree thingy... it should work though.
I would use "Unit - remove" instead of "Unit - kill".
What ability did you use, and what unit did you use as requirement?

i didnt say enable disable i said activate/deactivate it isnt the same when u disable the ability it cant be shown and if it is a hero ability it cant be learned...
If u deactivate it it jsut cant be cast

I used only 1 trigger in my map and it is to create a unit (sheep) when u use thunder clap
And than u can kill your sheep manualy or let it expire after 5 secs either way u wont be able to cast ability after it is gone
 

ayumilove

Youtube account suspended! youtube.com/ayumilove8
Reaction score
110
thanks AceHart, nigerianrulz and rayguaza218 for replying here!
and thanks W!†A_cRaft's for spending some time creating the map example!

i used unit - kill and it didnt work
however, if i use unit - expiration timer, it works great!
problem solved! <3

the activating and deactivating part is vague, and enabling disabling
is not a really good idea, its more used to hide icons and unabling the
person to learn the ability.


===================================================

Here is my next question!

Problem 10: Nullifying Enemy Amour
How do I nullify enemy armour? Let's say there is a group of enemy units.
Some of them are peon, grunts, and so on. Those guys have different
armour of course. I am creating a spell that reduces their armour to 0,
but not negative. How am I suppose to do it?
 

ayumilove

Youtube account suspended! youtube.com/ayumilove8
Reaction score
110
hi guys, another problem i have:-

Question 11: How do I detect armour of a Hero?
How do I check how much armour that a particular Hero has?
or perhaps how do I know how much armour does a unit has
by using triggers?

I want to create a spell that doubles the amount of the current
armour of the Hero has. Anyone knows?
 

Chocobo

White-Flower
Reaction score
409
hi guys, another problem i have:-

Question 11: How do I detect armour of a Hero?
How do I check how much armour that a particular Hero has?
or perhaps how do I know how much armour does a unit has
by using triggers?

I want to create a spell that doubles the amount of the current
armour of the Hero has. Anyone knows?

We can't detect the armor of a unit.
 

W!†A_cRaft

Ultra Cool Member
Reaction score
28
Question 10:
When u cast an ability on unit the trigger should:

Well maybe add a book 1 (contains devotion aura with -100% armor (the precent can be checked, 0 AOE) and disable spell book<3

Question 11:


Same just the aura should be positive
 
S

Sunny_D

Guest
well, it should be possible to calculate the basic armor of a hero (!) unit if you take the agility points and the level of the hero and how much armor a hero gets if he levels up. but that only works if you know the start armor of a hero (with what armor he starts at level 1...

now the problems with the armor added by a spell or something: as far as i know, there are possibilities with the "advanced abilities" option in WE-Enhancer (WEU). but i know you dont like weu, so.... ^^

another way would be adding armor indirectly, what means adding agility points temporarily instead of armor bonus... but i doubt this would be a nice solution...

hm... just some ideas...
 

ayumilove

Youtube account suspended! youtube.com/ayumilove8
Reaction score
110
Question 12
What is the use of Effect? In my object editor, there is buff, ability and effect
I never use effect before. Could someone tell me how they are used for? And
is there any examples of effect being commonly use in popular spells?
 

W!†A_cRaft

Ultra Cool Member
Reaction score
28
Well for what i figgured it is for making an effect like an are effect u know a blizzard, starffal, rain of fire, tranquility
 
S

Sunny_D

Guest
effects are partly the same as buffs, but only that you can attach buffs on a unit (buffs check if a unit doesnt have an buff twice or something), whereas effects arent bound to a unit (a landscape effect or whatever) and they dont appear in the effect bar under the unit stats. so basically effects are only there to look nice ;)
 

ayumilove

Youtube account suspended! youtube.com/ayumilove8
Reaction score
110
Question 10:
When u cast an ability on unit the trigger should:

Well maybe add a book 1 (contains devotion aura with -100% armor (the precent can be checked, 0 AOE) and disable spell book<3

Question 11:


Same just the aura should be positive

i tried the devotion aura method but its not working
this are the fields i changed:-
Level 1 Data - Armour Bonus 200
Level 2 Data - Armour Bonus -100
Level 3 Data - Armour Bonus -200
Level 1 Data - Percent Bonus True
Level 2 Data - Percent Bonus True
Level 3 Data - Percent Bonus True

But its not working
 
N

no0by

Guest
Question 11: How do I detect armour of a Hero?
How do I check how much armour that a particular Hero has?
or perhaps how do I know how much armour does a unit has
by using triggers?

For the question I'm not sure its possible with the Functions provided by Blizzard, Work around maybe.

I want to create a spell that doubles the amount of the current
armour of the Hero has. Anyone knows?


Devoation Aura has an option if its a percent of flat bonus try that, With self target only and 100%?

EDIT: I realy should check next time if its been said already...
 
N

no0by

Guest
i tried the devotion aura method but its not working
this are the fields i changed:-
Level 1 Data - Armour Bonus 200
Level 2 Data - Armour Bonus -100
Level 3 Data - Armour Bonus -200
Level 1 Data - Percent Bonus True
Level 2 Data - Percent Bonus True
Level 3 Data - Percent Bonus True

But its not working

I've done some tests on heros and found that the percent is based on base armor not armor from agility, Try it for you're self edit devoation aura and input 1 (1=100%,0.5=50%,and so on) and set the percent flag then edit a heros armor to something like 20.

As for units it should be normal.
 

ayumilove

Youtube account suspended! youtube.com/ayumilove8
Reaction score
110
i have already tried that out before posting the figures 200 -100 -200 for the percentage
 

W!†A_cRaft

Ultra Cool Member
Reaction score
28
Well if the devotion aura ability wont do it i dont know if there is any other ability that will do it and no triggering also maybe just JASS
 
N

no0by

Guest
Devoation Aura Works

Devoation Aura should be working I dont know why its not working for you. Have you got the latest patch and all? Other than that I'll post a link to a map of it in action later.

>>Click<<

P.S. 1=100% 100=10000% -1=-100% -100=-10000%
 

W!†A_cRaft

Ultra Cool Member
Reaction score
28
I got the 1.20c patch and i tried this changed the original devotion to do the procentage bonus

set 1st lvl to -100
2nd to -200
3rd to -300
and all it does is gives -200 armor on the first lvl if i recall right. (not sure maybe -100)
 

ayumilove

Youtube account suspended! youtube.com/ayumilove8
Reaction score
110
hi guys, i tested out your map

it works fine, but it doesnt work for my map

this is what i see

i copy your ability and buff into my map,
i put the ability into the mountain king
and i play the game

the thing is, I only get +2 armour o_O
i checked the object editor, and it is percent = true, and armour bonus is 2.00

and when i try on my normal hero, it won't increase abit
my hero is an agility person with 9 armour base, and it wont increase

my strenght hero which is a strength type hero, has 4 armour base
and it will increase to 4 + 2.

help!

==================================================

thanks guys!

i realised that my agility hero has 0 base armour no wonder i dont get any bonus armour.Apart from that, my agility hero armour all came from
the agility stats, meaning that, all this while, my agility hero is gaining
armour through agility and it has no base armour at all, compare to
other heroes. This has solved 1 problem, which is reducing armour for units
but it does not affect enemy agility heroes, and it doesnt affect 100%
towards heroes which has bonus armour from artifacts and agility bonus armour.
 
N

no0by

Guest
Abit of an undersight by Blizzard that it will only effect BASE armor not armor gained in any way shape or form e.g. only the armor set in the object editor. (Thats why I set the heros armor to 150 to demonstrate it working)

So any armor gained by agility or items wont effect the outcome.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top