• 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.

Custom Spell Shop

Status
Not open for further replies.
Level 1
Joined
Jun 17, 2008
Messages
1
Hi Everybody,im a litlle new to this Map making stuff and i just wonder how to make a shop there i can Buy Spells. please help me with this.:thumbs_up:
 
Level 14
Joined
Jan 15, 2007
Messages
349
Well you could make a shop with powerups. And make a trigger with the event if any unit get a item and as action a if then else and for example if the powerup item Thunderclap you make a action that you add the ability Thunderclap to the unit.

It would maybe look like this:
  • Events
    • Unit - A unit gets a item
  • Conditions
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • 'IF'-Condition
        • (Item-type of (Item being manipulated)) Equal Thunderclap
      • 'THEN'-Aktionen
        • Unit - Add Thunderclap to (Triggering unit)
      • 'ELSE'-Aktionen
I hope I helped you.
 
Status
Not open for further replies.
Top