HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

need help making a 'hingry hungry lizard' trigger

06-08-2003, 02:14 PM#1
Challis
hi,

I need to make a trigger which makes a unit of a certain type belonging to a player (i.e of type = Dino player = red) attack any trees within its range so that there are no trees left.

There is a very similar type of effect used in the actual game on the level where the turon chieften goes looking for the oracle with thrall. In the cave is a creature called 'hungry hungry lizard' and it just eats all the trees that it sees.

it's important that it targets a destructable and that it doesn't try to eat a tree too far away from it. It sort of requires making them think that the trees are hostile enemies. I've been trying for hours, I hope one of you guys can figure it out!

Thanx
06-09-2003, 05:16 PM#2
Fladian
Perhaps you should give the Lizard the abilety 'Eat Tree'
Then maybe you can do it like this :

Event :
Unit enter region/unit comes within range or something

Condition: None...

Action :
Unit uses Eat Tree on destructeble

--
Event :
Specific Destructible dies

Action :
Unit uses Eat Tree on destructble

Maybe this works...But Im not goon in triggering.