• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Problem with marketplace

Status
Not open for further replies.
Level 2
Joined
Sep 1, 2014
Messages
14
Hey guys,
I have a problem with my marketplace. I took a Goblin Marketplace removed a few items. Then I have created this trigger:

  • CommandTest
    • Ereignisse
      • Spieler - Spieler 1 (Rot) types a chat message containing - as Ein Teil-String
    • Bedingungen
      • (Substring((Entered chat string), 1, 1)) Gleich -
    • Aktionen
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Bedingungen
          • (Substring((Entered chat string), 2, 4)) Gleich add
        • 'THEN'-Aktionen
          • Neutrales Gebäude - Add Krone der Könige +5 to Goblin-Laden 0033 <gen> with 0 in stock and a max stock of 2
          • Spiel - Display to (All players) the text: Item added.
        • 'ELSE'-Aktionen
          • Spiel - Display to (All players) the text: Wrong command.
But when I use the command no item is added although it is showing the message "Item added". I tried a few things but i can't find a reason for the problem.
Thank you
 
Status
Not open for further replies.
Top