Warcraft III resources & community, 2003–2006 · archived

Please HELP~!!!

5 posts
#1

Please HELP~!!!

Is it possible to access whole states of a unit like Object Editor do, and then further modify them by function or something, such as (It's only a example, it's not a precise JASS syntex, and of course it's not a precise statement.)

Unit u
u=GetTriggerUnit()
u.AttackSpeed=1000
u.AttackType=Chaos

Extremly appreciated for answering.
#2
You mean be able to change all unit options like armor, damage and such? I'm afraid that is only a dream everyone wants.
#3
Well, I mean to modify unit's abilities like Object Editor do by using triggers or scripts instead of Object Editor.

I noticed that there are only few options in trigger actions, if I want to change some states by triggers, I can only change some specific states, such as HP, MP or something.

If I want to change something like AttackType or WeaponType, even GameInterface, by scripts, how can I do?

Appreciated for answering.
#4
And that's wait I meant too. The only thing you can modify is: current HP MP, hero attributes, remove/add abilities, fly height, size, color, hero level and collision size. And that's bad, triggers should be able to modify all that object editor can. :(
#5
Well, I think the only thing I can do is build all the objects of different AttackType separately, anyway, appreciated for answering.