Bonding unit to a building. Please help

Status
Not open for further replies.
Level 1
Joined
Oct 24, 2015
Messages
3
hey guys i need help with a trigger.
I want to spawn a unit as soon as a building finishes construction
I want that created unit to be assign to the player that built the building, then i want it to be uncontrollable (made unit a ward)
Finally i want that created unit to die when the building that spawned it is destroyed.

How do i do this?
 
hey guys i need help with a trigger.
I want to spawn a unit as soon as a building finishes construction
I want that created unit to be assign to the player that built the building, then i want it to be uncontrollable (made unit a ward)
Finally i want that created unit to die when the building that spawned it is destroyed.

How do i do this?

Hi, sorry I had to sleep I was up very late last night

Hopefully this map explains how you can use Hash tables to achieve what you're trying to do

Please respond here once you've had a look around and tried it out yourself
 

Attachments

Status
Not open for further replies.
Back
Top