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

trigger help

Status
Not open for further replies.
Level 2
Joined
Feb 20, 2005
Messages
5
Can some one plz show me jow to make this trigger step by step in simple form.

Event
(the hero you want growing) Gains a Level

Conditions

Actions
Animation - Change (triggering unit)'s size to ((100.00 + ((25.00 x (Real((Hero Level of (Triggering unit))))) - 25.00))%, (100.00 + ((25.00 x (Real((Hero Level of (Triggering unit))))) - 25.00))%, (100.00 + ((25.00 x (Real((Hero Level of (Triggering unit))))) - 25.00))%) of its original size.
 
ok...

go under Animations, as you can see...

Then click on the red field (unit's) and select triggering unit. Now click on the first filed saying 100.00%
then: click on the first 1.00 and change it to 100.00, now click on the second 1.00 and now you will see 1.00 + 1.00, click on the firs and change it to 25.00, then click on the + and change it to x, now click on the second 1.00 (next to the x) and check the litle circle,
it should say like O Function | arithmetic.
Now again :roll: click on the 1.00 (first one) and instead of arithmetic function put "Conversion - convert integer to real", now you will see a blue field saying
"point-value of footman", click on it and again on function field select "Hero - hero level" then click ok untill you get to the (Real((Hero Level of (Triggering unit))))) + 1.00, change the + to - and 1.00 to 25.00.

all in all, you get this:

Code:
Change (triggering unit)'s size to ((100.00 + ((25.00 x (Real((Hero Level of (Triggering unit))))) - 25.00))%

now do it in the same way with the two next fields. (100.00%)

As you can see, its easy to make a mistake here or get confused. :roll:
 
Status
Not open for further replies.
Top