HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Forester

03-04-2006, 08:52 PM#1
Time_Waster
I want to create a forester in my map; and because of that I need to know if it's possible to make an ability which makes that a forester plants trees...like the worker who cut the trees...and get wood


Quote:
Originally Posted by Whitehorn
You'd need a dummy skill, which triggers (a trigger) to affect doodads (of type tree) in set area to return to life (stand anim).

I need someone who can create a trigger like that because I dont know how to make a trigger

Hope you can help me
03-05-2006, 02:22 AM#2
Ice_Keese
Hmmmph..... I did this one quickly:

Trigger:
Forester
Collapse Events
Unit - A unit Begins casting an ability
Collapse Conditions
(Ability being cast) Equals to Ability
Collapse Actions
Destructible - Resurrect (Target destructible of ability being cast) with (Max life of (Last created destructible)) life and Show birth animation

That will only work with a single tree. Also, don't forget to put your dummy ability instead of "Ability".
03-05-2006, 02:56 AM#3
Murder1833
This will work on any destructable tho, you'd have to make it not do that.

And when he said plant trees, I thought he meant create new ones. If that is the case, you'd have to make it target a point and create a tree with birth animations bla bla bla u get my point eh? If not I shall make it for you! Mwahahahahahhaha!!! *cough, choke, die*
03-05-2006, 06:42 PM#4
Time_Waster
Hm well I mean that the forester "plant" (make new) trees in a area and get wood for doing that...Is this clear?

And I'm sorry but what is a "dummy" skill
03-05-2006, 11:03 PM#5
Ice_Keese
A dummy skill is a skill that does absolutely nothing. It's simply a placeholder. When the unit uses this ability, a trigger is called to produce the effect.

Trigger:
Forester
Collapse Events
Unit - A unit Begins casting an ability
Collapse Conditions
(Ability being cast) Equals to Ability
Collapse Actions
Destructible - Create a Summer Tree Wall at (Target point of ability being cast) facing (Random angle) with scale 1.00 and variation 0

That should do... Don't forget to put your dummy skill instead of Ability!
03-05-2006, 11:14 PM#6
Blade.dk
I think it would be better to use a unit starts the effects of an ability, the other event can be abused.
03-06-2006, 01:20 PM#7
Time_Waster
Ähm sorry but do you know a dummy skill, which I can change?
03-08-2006, 03:48 PM#8
Drakim
You can almost use any ground-targeting abilities as a dummy for this spell (like shockwave but remember to set 0 to damage, and remove the sp.effect)

Another thing to think about is how the unit is going to use this skill. A harves wod ability is automated, while this skill would have to be used over and over again by the player.

What you need is a trigger that makes the unit cast the ability again with a random offset when the cooldown is done. This can easy be made by adding a "wait" equal to the cooldown and the issue an order to do that again....(ohh...and you need to loop the prosses)
03-09-2006, 05:44 PM#9
Time_Waster
Thanks , but are you able to change the Trigger ? Sothat it does what you mean?