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
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?
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.