• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Please HELP~!!!

Status
Not open for further replies.
Level 1
Joined
Aug 27, 2005
Messages
3
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.
 
Level 1
Joined
Aug 27, 2005
Messages
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.
 
Level 12
Joined
Apr 29, 2005
Messages
999
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. :(
 
Level 1
Joined
Aug 27, 2005
Messages
3
Well, I think the only thing I can do is build all the objects of different AttackType separately, anyway, appreciated for answering.
 
Status
Not open for further replies.
Top