• 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.

Trigger to Control Trees?

Status
Not open for further replies.
Level 2
Joined
Dec 25, 2009
Messages
10
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
 
Level 5
Joined
Jun 24, 2009
Messages
118
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.
 
Level 2
Joined
Dec 25, 2009
Messages
10
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.
Top