I am trying to create a new trigger in my map that executes an event for when a specific unit / building is created, the barracks to be precise.
My condition is (created unit) == (XXX) but I am not sure what I need to place into (XXX).
The barracks is non selectable in [source: value] as it does not exist on the map yet. There is mention of a data table with values you can reference. Is this what I need? If so what is the reference for the barracks?
Hi,
I am trying to create a new trigger in my map that executes an event for when a specific unit / building is created, the barracks to be precise.
My condition is (created unit) == (XXX) but I am not sure what I need to place into (XXX).
The barracks is non selectable in [source: value] as it does not exist on the map yet. There is mention of a data table with values you can reference. Is this what I need? If so what is the reference for the barracks?
Any help would be greatly appreciated.
Cheers. Wilmatron.
Try this:
Events - Any unit enter in region (all map)
Conditions - Unit type of (Triggering unit) == Barrack
Actions - *Your actions*
Nice one Laiev - that's sorted it.
Thanks for the swift response.
Cheers, Wilmatron