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

Question

Status
Not open for further replies.
Level 10
Joined
Mar 19, 2010
Messages
622
I was wondering, that will my map become more smooth if I turn all of my GUI trigger into custom text? Can somebody tell me?
And I'd also like to know how to make a unit "grow". Like it will change it's size when it kills X unit or something like that.
 
1. no it will not. (game does that itself).
2. There is an action: Animation-Set unit scale to (x,y,z)
Trigger:
A unit dies.

Killing unit has buff grower
OR IF IT IS ABILITY: Level of Grow for Killing unit greater than 0

Animation-set unit scale to (x+whatever value you want,y+whatever value you want,z+whatever value you want)

To reverse it you need to be more specifc like if the change is pernament, time it lasts etc.
 
Level 10
Joined
Mar 19, 2010
Messages
622
1. no it will not. (game does that itself).
2. There is an action: Animation-Set unit scale to (x,y,z)
Trigger:
A unit dies.

Killing unit has buff grower
OR IF IT IS ABILITY: Level of Grow for Killing unit greater than 0

Animation-set unit scale to (x+whatever value you want,y+whatever value you want,z+whatever value you want)

To reverse it you need to be more specifc like if the change is pernament, time it lasts etc.

1. I meant I does that my self, so will it reduces the work the program need to do and smoothen gameplay?
2. Thanks for that, but can I modify the unit's base damage? I felt don't like making bunch of unit with just a little stat change.
 
1. I meant I does that my self, so will it reduces the work the program need to do and smoothen gameplay?
2. Thanks for that, but can I modify the unit's base damage? I felt don't like making bunch of unit with just a little stat change.

no, really game does that by itself, and that is just a second of work. And if you made a mistake in trigger and want to fix it would be harder to do it in JASS.

2. yes there is, but that is a trigger too.

First create ability Item Attack Bonus(+1).
Give it 50 levels. auto fill levels so level 1 has bonus damage of 1
level 2 has bonus of 2, level 3 of 3 ... level 50 of 50.
Then create a trigger.
event
xxxxxxxxx
condition
xxxxxxxxxxxx
action
Add Bonus Damage to x unit
set level of Bonus Damage to 1-50 (any number between 1 and 50)
 
Status
Not open for further replies.
Top