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

Item Purchase Through Trigger

Status
Not open for further replies.
Level 3
Joined
Dec 11, 2012
Messages
43
Hello, I am trying to make a item purchasable through a trigger and am stuck at creating the condition. I am trying to make the condition that the triggering player has to have 5000 gold or else it tells him he does not have enough gold and does not give him the item.

This is what I have so far in the photo attached below.
 

Attachments

  • help.png
    help.png
    4.8 KB · Views: 37
Level 13
Joined
May 10, 2009
Messages
868
Use the If-Then-Else statement.

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • Player has enough gold
    • Then - Actions
      • Item - Give item to player X
    • Else - Actions
      • Game - Tell a player to...
 
Status
Not open for further replies.
Top