Warcraft III resources & community, 2003–2006 · archived

Special Requirement

6 posts
#1

Special Requirement

I need to make a unit that can only be trained when two units are in a building. For example,

The Farmhouse is the builidng, and the Farmer and his Wife must be in it in order to "train" babies. I know it sounds weird, but i'm trying to make a realistic game. :P I'd really appreciate anyone who helps! :o
#2
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Region 001 <gen> contains (Triggering unit)) Equal to True
(Region 001 <gen> contains (Triggering unit)) Equal to True
Then - Actions
Else - Actions
#3
I need the units to be in the Farmhouse, though. Is there a way I can change the region part to Structure?
#4
No, but whay not create a region?
#5
Well, u could use the orc burrows as the "farm" and the farmer and his wife are peon type units and they go in the burrow, "farm".
#6
Or use modified Zeppelin's transport ability, but I think burrow ability is more handy.