- Joined
- Jul 5, 2010
- Messages
- 1,132
Hey, is there any way to change a unit's Attack or Armor type ingame, with triggers?
An easy, cheap, way to do it for attack type and only to cycle among 2 attack types:Hey, is there any way to change a unit's Attack or Armor type ingame, with triggers?
Cons are actually negative points, Pros are positive so all your Cons should be Pros and the not so Cons should actually be cons
I've run to exactly same problem as you MaTiJa and in the end I gave up. Now the game I wanted to have this function only uses 1 Attack and Armor Type. And it is fine, as the game is a RPG. What type of project you're working on?
I tried to go the bear form way, but when I morph, all my spells in my spellbook are removed. How come?
Spell book does not stay on unit morphing, in addition, spell book who is on both the models's abilities will still lose all the spells inside the book, not only their levels but the abilities to begin with, each and any of them.
You can keep them with this:
- // A000 = spell book
- Custom script: call UnitMakeAbilityPermanent(udg_u, true, 'A000')
- // AEer = spell book ability 1
- Custom script: call UnitMakeAbilityPermanent(udg_u, true, 'AEer')
* varibles are marked with capital last letteRYeah Maker it works thanks but I need to detect the player number of the owner of triggering unit. How do I do it with Custom script: call UnitMakeAbilityPermanent(udg_u, true, 'A000')?
Hey, is there any way to change a unit's Attack or Armor type ingame, with triggers?
like in another thread i already said, the most easiest way is with damage detection system, your store to a variable the unit armor type or attacker unit attack type then calculate the output damage depend on armor/defence variable
Yeah Maker it works thanks but I need to detect the player number of the owner of triggering unit. How do I do it with Custom script: call UnitMakeAbilityPermanent(udg_u, true, 'A000')?
Funny Fact: There is an upgrade for orc towers that permenantly
turns any armor into fortified.
But this is only one way arround, into fotified , not backward.
why do you want change that armor type if u can make a virtual armor type with damage reduction and with few varable+dds