HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Let the Hero kill a Doodad in a Cinematic

08-17-2002, 02:21 PM#1
Guest
Hi,

I want to make a Cinematic within the Hero destroys a EggSag.

How to do this ?

I tried something like:

Unit - Order Entering Unit to attack ground eggsak xy

Can pls anybody help me out
08-17-2002, 02:56 PM#2
Guest
Quote:
Originally posted by monoTON
Hi,

I want to make a Cinematic within the Hero destroys a EggSag.

How to do this ?

I tried something like:

Unit - Order Entering Unit to attack ground eggsak xy

Can pls anybody help me out

OK i finally found out.

i start a unit animation and then i kill the doodad by trigger

But are there more unit animations then:
Stand
Death
Attack
?
08-17-2002, 04:43 PM#3
SuperIKI
Do make the hero attack the eggsack, use the following trigger:
Unit - Issue Order Targeting a Destructible

BTW: The animation names are shown in WorldEdit above the unit picture on the left.
08-17-2002, 05:45 PM#4
Guest
^ That probably wouldn't work. If you issue an order to a melee unit to attack a tree, it will just walk to the tree, but it can't actually attack it.

AV
08-17-2002, 06:01 PM#5
jardragon901
it would work if you created an exact duplicate of the hero with the ability to attack everything :)
08-17-2002, 06:26 PM#6
Guest
To destroy a doodad, you must use the command:

Unit - Issue Order Targeting A Destructible

-> Order myUnit to Attack myDoodad

Also, make sure units aren't paused during the cinematic.

If you want your unit to kill a tree or a air unit, make sure you check it's "allowed target" in the unit editor.
08-17-2002, 07:44 PM#7
Guest
Quote:
Originally posted by jardragon901
it would work if you created an exact duplicate of the hero with the ability to attack everything :)

True, but then players can take their hero and smash through trees to skip around your map. :)
08-17-2002, 10:35 PM#8
Guest
Not if you replaced the hero with the duplicate in the cinematic and then with the hero again after the cinematic.
08-18-2002, 01:10 AM#9
Guest
But if you replace the hero, you'll get a default level 1 hero with no items... :)
08-18-2002, 01:57 AM#10
Guest
Two solutions for that:
1 - give all the items to a dummy and set variables for the experience and everything (I doubt you can backup the learned spells this way tho)
2 - move the hero somewhere and just make the movie dummy disappear when the cinematic has passed.
08-18-2002, 02:56 AM#11
Guest
Simple, just hide your Hero in the cinematic, then create a unit-type (same as your hero), then order that one to attack the eggsack.... afterward, hide the temp hero, move (instantly) the old hero to the position of them temp, with the temps facing angle, then unhide your old hero, remove the temp... (sorry for the massive runon).