• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Shop buying

Status
Not open for further replies.
Level 18
Joined
Mar 7, 2005
Messages
824
uhm I would try to use the normal gameshop ability, where the enemy can't but stuff at your base, while he's attacking you.. so you just need teams with enemies, and use these shops..

else I would trigger it, like
  • Events
    • Unit - Unit sells an item
  • Conditions
    • Unit - Selling unit is owned by Player YZ
    • Unit - Buying unit is owned by player XY
  • Actions
    • Hero - Drop Item from hero manipulating hero
    • Item - Remove item from game
    • Player - give him the money back then
    • Game - maybe some info message - You can't buy stuff here
or something like that, or change ownership, I don't know
 
Level 18
Joined
Mar 7, 2005
Messages
824
Like a book that adds Str?
Then make another item as powerup that reduce the str ^^
Or you use the teamshop part.. but I don't think it's good, when you're using variable teams.. but If you have two basic teams, and they are enemies (like enfos, dota, any other map) you could use the normal melee shop stuff, they can only be used by yourself and by allies.. (dunno if you need to place it for some player, but well, it's just the shop, so who cares? xD)
 
Level 18
Joined
Mar 7, 2005
Messages
824
whatever you do, just remove the effect, the bonus stats, the ability, whatever you've add before, just remove it, including the item itself.. would be the basic suggestion..

But it depends on what you're going to do and what kinda teams you've got and stuff like that, so you can customize it.. maybe some other type of shop, some anti-buy trigger, whatever
 
Level 3
Joined
May 1, 2009
Messages
24
you could make a realy simple trigger that looks like this. it should work^^.

  • events:
  • events:
  • unit - a unit learns a skill
  • conditions:
  • actions:
  • if ((owner of (triggering unit)) equal to (random player from all allies of player 6(orange)))) then do (unit -remove ''your spells'' from (triggering unit)) else do (do nothing)
the bad thing is that you will have to do one of these for each spell but the good news is that it is possible to copy the trigger once you have made it once^^
 
Status
Not open for further replies.
Top