HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

mass animation? @@?

10-01-2003, 03:55 PM#1
Ironboy
well, i want to make every unit in a region to play an animation....


Unit Group - Pick every unit in (Units in Region 000 <gen>) and do (Animation - Play (Picked unit)'s stand work animation)


it doesn't work... i know the problem is "Play (Picked unit)'s ", but i can't think of any other way XD
10-01-2003, 04:07 PM#2
ABM
i am quite average at trigger and there is many thing i still don't know but as far as i can see with my ability the picked trigger soudn't be a problem....

(Animation - Play (Picked unit)'s stand work animation)

is the stand work animation corect for the type of unit you wana use are you sure the spelling of animation is right?
try it with only one unit if it work then try it with all...if it still doesn't well that could be because the animation should be played singularly on each unit (but i really don't think that could really be it)

try a single unit then try all units and tell me how it work.
10-02-2003, 02:38 AM#3
Dragon
Does the unit have a work animation?
10-02-2003, 02:42 AM#4
Saethori
Good way to test:

Make a bunch of peasants, some inside a region, some not. Also put a couple Footmen, some in and some not. Order all units in the region to play their 'gold' or 'lumber' animation.. for peasants and peons, (and, to a lesser extent, ghouls) this doesn't automatically switch back to normal like some animations.

If it doesn't work when the Footmen are there, but does when they aren't, then you'll need to tell the trigger to only work on the peasants (either using an If, or altering the 'pick every unit')
10-02-2003, 03:08 AM#5
Ironboy
i just want all units in a region do the same animation

im sure they have the animation I ordered them

and i only need it for 1 type of unit

so, no one knows?
10-02-2003, 03:14 AM#6
Ekkruker
Quote:
Originally posted by Saethori
Good way to test:

Make a bunch of peasants, some inside a region, some not. Also put a couple Footmen, some in and some not. Order all units in the region to play their 'gold' or 'lumber' animation.. for peasants and peons, (and, to a lesser extent, ghouls) this doesn't automatically switch back to normal like some animations.

If it doesn't work when the Footmen are there, but does when they aren't, then you'll need to tell the trigger to only work on the peasants (either using an If, or altering the 'pick every unit')


Did you even read that? Thats the perfect way to test!
10-02-2003, 11:09 AM#7
Ironboy
can't.... that's why Im asking for a solution from trigger expert
10-02-2003, 11:30 AM#8
tufy
Here's a concept for every two seconds:

Event:

Every 2 seconds of game time

Condition:

/

Action:

Unit Group - Pick every unit in ((Region Blah) of type (Spearman)) and do (Play (Picked unit)'s (stand work) animation).

If this doesn't work, you either:

A. Don't have the region
B. Don't have the unit in the region Blah
C. The unit doesn't have stand work animation
D. The name of the unit in region Blah is not Spearman

That's it.
10-02-2003, 11:31 AM#9
Saethori
Wow. First time anyone ever put something involving me and 'perfect' in the same sentence.

I feel loved now..


I'd test for you, but I'm not 100% certain exactly what you're trying to do. I gave you a lead on how you can 'try' yourself, because you need to learn how to do it anyway. ^^

But, yeah. Peasant's 'gold' and 'lumber' animations work because there are stand, move, attack, and work animations for those. If you added a 'cast' animation to something, naturally it would only work when the unit's standing still because there's no 'move cast' animation.

Hm. I wonder what would happen if I gave a Blademaster an 'attack' animation and told him to move..
10-02-2003, 11:57 AM#10
tufy
The animation would change to move animation.
10-04-2003, 04:31 AM#11
Ironboy
Quote:
Originally posted by tufy
Here's a concept for every two seconds:

Event:

Every 2 seconds of game time

Condition:

/

Action:

Unit Group - Pick every unit in ((Region Blah) of type (Spearman)) and do (Play (Picked unit)'s (stand work) animation).

If this doesn't work, you either:

A. Don't have the region
B. Don't have the unit in the region Blah
C. The unit doesn't have stand work animation
D. The name of the unit in region Blah is not Spearman

That's it.



All A, B, C and D are correct, but it still doesn't work. You can try it urself, it's a buggy trigger.

So, it's really impossible to mass animation?

hmmmmmmmm...

Where are all the trigger expert of this board?
10-04-2003, 06:36 AM#12
Sagan
It works: Map