• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Trigger to Control Trees?

Status
Not open for further replies.

Tika

T

Tika

What i Try to do at this moment is to have Peasants go to the forest
Lumber go back to a Doodad Lumbermill stand there unload their Lumber

Rinse and repeat i started with Putting
4 Diffrent Peasants in Regions:

Lumberjack 01-04
and
Lumberjack 01-04 Wood

Doing like this

Code:
A unit Enters Region

(Unit-Type of (Triggering Unit)) Equal to Peasant

Wait 2 Seconds

Order - Unit Order peasant 0021(the Specific Peasant for that Patrol) To move to Respective Wood Region

Thus ending that trigger
Code:
and Beginning with the new

A unit Enters Region

(Unit-Type of (Triggering Unit)) Equal to Peasant


Unit - Make Peasant 0021 <gen> face (Random point in Lumberjack starepoint <gen>) over 0.00 seconds
Wait 2 Seconds

This is where I am stuck Where to go from here?

Also I want the trees to regrow or never be cut down maybe they just cut the air if that's simpler

Found this trigger is this the way to go ?

Unit - Order Peasant 0021 <gen> to Harvest (Random destructible in Lumberjack 1 Wood <gen>)


Thanks for all help. I Really need it
 
You don't need to use ''Triggering Unit'' - if there's event e.g. ''A unit enter region'' then you should use ''Entering Unit''. I don't think,that it will fix your problem but try it out.
 
well is there an easier way to get Peasants to lumber wood....
and make it so the forest does not get beaten down after a long while anyhow
 
Status
Not open for further replies.
Back
Top