I want to change the sentry force field to have a specific amount of health, so it enable hero to attack it with missile ability and when a certain amount of damage as been done to the shield it is destroyed.
My question is: How to we do that? Where can we specify force field to have health instead of being invulnerable for a duration ?
Under the unit for the force field? Just need your hero ability to be validated at the first effect using a Combine validator with and logic that uses a Unit Type validator to specify the force field and a Unit Filter validator to check it is invulnerable.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I am not sure that I correctly understand what you are saying. To be sure, let me tell you what I want to do again, but in another way.
The force field ability of the sentry normally create a shield that block path for a duration. I want this shield to be damageable by let's say a missile attack. For example, one hero shoot a missile (50 dmg) on the force field, and the force field lose 50 hp. To do this, the force field then need to have health right?
How do I do this? Is it only by the way you told me?
Do you want other units to be able to attack it as well?
If yes, you could simply remove the flags for invulnerability and not attackable and not targettable, give it health and that's it.
If you want only magic attacks to do damage, you could increase armor of the force field, cause magic damage pierces it. That's a cheap workaround though.
If you want only magic attacks to be able to attack it, then I'm out of ideas.
Yeah, strange, I tested it and also ran somewhere else into a similar problem. Well, the forcefield is even with the changed flags untargetable and thus invulnerable. The similar problem is a copied creep tumor, which I'm trying to make have collision with ground units - not working either despite testing all the flags. I wonder what else is influencing these units....
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi,
I want to change the sentry force field to have a specific amount of health, so it enable hero to attack it with missile ability and when a certain amount of damage as been done to the shield it is destroyed.
My question is: How to we do that? Where can we specify force field to have health instead of being invulnerable for a duration ?
Under the unit for the force field? Just need your hero ability to be validated at the first effect using a Combine validator with and logic that uses a Unit Type validator to specify the force field and a Unit Filter validator to check it is invulnerable.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Hi there! Thank you for the quick reply.
I am not sure that I correctly understand what you are saying. To be sure, let me tell you what I want to do again, but in another way.
The force field ability of the sentry normally create a shield that block path for a duration.
I want this shield to be damageable by let's say a missile attack. For example, one hero shoot a missile (50 dmg) on the force field, and the force field lose 50 hp.
To do this, the force field then need to have health right?
How do I do this? Is it only by the way you told me?
Thank you again!
I did some research on the forum and it seem that some people have tried to do what I am trying to, but never found a solution. Any idea?
Do you want other units to be able to attack it as well?
If yes, you could simply remove the flags for invulnerability and not attackable and not targettable, give it health and that's it.
If you want only magic attacks to do damage, you could increase armor of the force field, cause magic damage pierces it. That's a cheap workaround though.
If you want only magic attacks to be able to attack it, then I'm out of ideas.
Removing flag do not work for the force field :/ . Already tried it
Yeah, strange, I tested it and also ran somewhere else into a similar problem. Well, the forcefield is even with the changed flags untargetable and thus invulnerable. The similar problem is a copied creep tumor, which I'm trying to make have collision with ground units - not working either despite testing all the flags. I wonder what else is influencing these units....