Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
General Development
»
Extinguishing fire on buildings
Extinguishing fire on buildings
12-15-2008, 06:37 PM
#1
marshall
Anyone know how to do this?
I have 4 buildings in my map that should not be on fire no matter how much damage they take. I can't seem to figure out how to get rid of the flames. Any ideas?
12-15-2008, 07:25 PM
#2
moyack
Remove the mechanical classification?
12-15-2008, 07:51 PM
#3
Troll-Brain
There are specials ability "in fire" for each race. 'Afix'
Remove them for your buildings and they won't fire.
x -> first letter of the race name
So for human -> 'Afih'
orc -> 'Afio'
undead -> 'Afiu'
night elves -> 'Afin'
You can see them in the object editor if you use UMWSE (as a plugin of JNGP or an editor)
12-15-2008, 08:53 PM
#4
marshall
Awesome Troll-Brain, thanks.
I'm not using UWSE (not yet anyway) but I can easily use UnitRemoveAbility() to get the job done.
12-15-2008, 09:04 PM
#5
Troll-Brain
I made a typo UWSE instead of UMWSE.
There is also the ability "in fire" 'Afir', maybe for the other races, but i didn't try.
12-16-2008, 03:02 AM
#6
Gorman
Just a thought, i dont think that neautral buildings burn at all... so try setting the race to neutral!