Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
I need to create trigger,that makes Tavern's activaton radius to 1 or 0 when hero is chosen. (I already have that trigger but I need to put this into that trigger too.) Do I need some Customscript?
Have two abilities. One with a range of 1/0 and another with your default range. When a hero is chosen, remove the default ability and add the new one with a range of 1/0.
You could try using a combination of GetLocalPlayer() and:
Untitled Trigger 001
Events
Conditions
Actions
Neutral Building - Remove Footman from (Triggering unit)
Basically instead of removing the "detection" radius of the Sell ability, you could remove the units that it sells for a specific player. This will leave you with a Tavern that can be used by other players but for you specifically it will be "disabled".
It seems that this causes a desync, as I expected. If only one unit can be bought from a tavern by any one player then you could use this trigger to "disable" the Tavern.
Untitled Trigger 001
Events
Conditions
Actions
Player - Make Footman Unavailable for training/construction by Player 1 (Red)
If you make all of the available Tavern-units unavailable then it will appear as if the Tavern is disabled (for that one player). This is probably one of the best approaches.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.