• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[General] Enabling Tavern without nearby units.

Status
Not open for further replies.
Level 20
Joined
Aug 13, 2013
Messages
1,696
Can someone tell me or teach me how to enable taverns without nearby units?
It is like from DotA, The tavern from dota is enabled without nearby units in them.
I'd tried to create a dummy units with locust but it does not work because the select unit ability can't pick locust units :((.
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
  • Unselectable Unit
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Set u = (Random unit from (Units currently selected by Player 1 (Red)))
      • Custom script: call UnitAddAbility(udg_u, 'Aloc')
      • Custom script: call UnitRemoveAbility(udg_u, 'Aloc')
      • Unit - Add Bear Form to u
      • Unit - Order u to Night Elf Druid Of The Claw - Bear Form
      • Unit - Remove Bear Form from u

Then in object editor, give it the dummy.mdx model for example and no shadow or hero icon.
 
Status
Not open for further replies.
Top