- Joined
- Dec 2, 2016
- Messages
- 733
I have a merchant that you can buy units from. I'm trying to set it up so I can detect if a specific team bought the unit, or at least specific team colors, how can I go about this?
All I've come up with so far is matching the triggering unit to a specific unit model which is not ideal, since I am using multiple unit models.
Ideally I want to check if the triggering hero is on either team 1 or 2, and if he's on 1 team do blah..., and team 2 do blah....
Thank you.
All I've come up with so far is matching the triggering unit to a specific unit model which is not ideal, since I am using multiple unit models.
Ideally I want to check if the triggering hero is on either team 1 or 2, and if he's on 1 team do blah..., and team 2 do blah....
Thank you.