Disable Player from Purchasing Item

Status
Not open for further replies.
Level 5
Joined
Jan 29, 2009
Messages
92
is there any way to prevent a player from purchasing an item to the point where it doesn't even show up in the shop for them? similar to the "Enable/Disable Construction of Unit for Player" action
 
Make Item a Dummy unit.
Then do:
  • OnlyOneItem
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (Unit-type of (Sold unit)) Equal to Dummy Unit (Item)
    • Actions
      • Unit - Remove (Sold unit) from the game
      • Hero - Create - The Item - and give it to (Buying unit)
      • Player - Make Dummy Unit (Item) Unavailable for training/construction by (Owner of (Buying unit))
Tada, no problem anymore.
 
Status
Not open for further replies.
Back
Top