• 🏆 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!

Remove unit from marketplace

Status
Not open for further replies.
Level 19
Joined
Apr 25, 2006
Messages
1,309
EDIT: YEEES I solved it! =D It works as it should with this trigger! =)
  • Player - Limit training of Blood Mage to 0 for Player 1 (Red)
Why is it these triggers don't work?? =(
  • Neutral Building - Remove Naga Sea Witch from all marketplaces
  • Neutral Building - Remove Pandaren Brewmaster from Tavern 0001 <gen>
 
Last edited:
Level 6
Joined
Sep 13, 2008
Messages
261
Did you try the jass code RemoveUnitFromAllStock? I haven't but i think it might work.

  • Custom script: call RemoveUnitFromAllStock(INSERT UNIT ID HERE)
I just installed warcraft 3 and i am rusty or id check it for you.
 
Level 19
Joined
Apr 25, 2006
Messages
1,309
You could give the unit abilities, and use triggers to take the gold and lumber. Then you'd use Add/Remove Ability.
I doubt this would work in multiplayer.
  • Custom script: call RemoveUnitFromAllStock(INSERT UNIT ID HERE)
Ok I try this. One more thing, I tried to use the neutral building trigger to a normal tavern and it didn't work =/
EDIT: I tried to do that but I couldn't get it to work. =/

Why won't these work: ???
  • Neutral Building - Remove Naga Sea Witch from all marketplaces
  • Neutral Building - Remove Pandaren Brewmaster from Tavern 0001 <gen>
EDIT: YEEES I solved it! =D It works as it should with this trigger! =)
  • Player - Limit training of Blood Mage to 0 for Player 1 (Red)
 
Status
Not open for further replies.
Top