| 03-27-2004, 11:11 AM | #1 |
I would like someone to help me out creating what is probably a very basic trigger. I would like a system whereby your hero's scaling value increases by 0.1 each time he/she levels up.. this must apply to all player. Any help would be appreciated. |
| 03-27-2004, 11:33 AM | #2 |
It's a pretty simple trigger: Code:
Heroes get bigger
Events
Unit - A unit Gains a level
Conditions
Actions
Set TempReal = (100.00 + (10.00 x (Real((Hero level of (Leveling Hero))))))
Animation - Change (Leveling Hero)'s size to (TempReal%, TempReal%, TempReal%) of its original size |
| 04-12-2004, 03:44 PM | #3 |
The problem with this solution is that you set the scale relative to scale 1.00. An Hero could have scale 1.1 as default scale, as for the unit grunt for example. But if you can find a way to get the scale of a unit, then you're set. Anyone know this? |
| 04-12-2004, 09:13 PM | #4 |
You'd just have to scale the models or create multiple triggers for the types of heros you have. |
| 04-13-2004, 04:42 PM | #5 | |
Quote:
|
| 04-13-2004, 08:04 PM | #6 |
Either make it so that you have individual triggers for each type of unit... Or make it so that all the heros have a default scaling value that is equal. Or you could edit the model and scale it.. But I don't think you want custom models in your map when you consider the size they would take for a minute difference. |
