Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
General Development
»
Limit a building to be built X times
Limit a building to be built X times
03-30-2007, 12:38 AM
#1
Khronos
Hi,
im wondering how to limite a building to be built only X times?
thanks
Edit: Id like to know how to make it a ressource droping location ty
03-30-2007, 02:59 AM
#2
wussupallies
Very simple trigger:
Trigger:
Melee Initialization
Events
Map initialization
Conditions
Actions
Player - Limit training of Barracks to 1 for Player 1 (Red)
(You can tweak this as needed and play around with it)
As for the resource dropping, you need to go into the
Object Editor
and give it the ability
Return Lumber
,
Return Gold
, or
Return Lumber and Gold
03-30-2007, 03:52 AM
#3
Khronos
thanks! I was looking for an unit trigger hehe