• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] EVENT not working 0_o

Status
Not open for further replies.
Level 13
Joined
Mar 4, 2009
Messages
1,156
  • Untitled Trigger 001
    • Events
      • Unit - A unit Sells an item (from shop)
    • Conditions
    • Actions
      • Game - Display to (All players) the text: (String((Item level of (Sold Item))))
      • Game - Display to (All players) the text: (Name of (Sold Item))
      • Game - Display to (All players) the text: (Name of (Item being
      • Game - Display to (All players) the text: XD
here is what i do

i select a unit that can sell items
i buy one item from that unit and nothing happens :hohum:
 
Level 13
Joined
Mar 4, 2009
Messages
1,156
Shouldnt it be Buys and item From shop???

EDIT: Sells an item TO shop
buys an item from shop does no exist

Did you read my first trigger:hohum:...

unit-sells an item (from shop)
means that you have bought an item for some shop
-that event (sells an item from shop) is not working

unit-pawns an item (to shop)
means that you have sold your item from inventory to shop

all what i need is that when i buy an item from shop i need to get his level
 
Level 13
Joined
Mar 4, 2009
Messages
1,156
Explain please

When you don´t have select hero and shop sharing ability no one can buy item from that shop accept his owner....

but as it does not select hero ability it will drop items under the shop (when i buy them)

event (unit sells an item from shop) does not work if the item is not sold to unit
well i don´t need (EVENT-unit sells an item from shop) i used this


  • give sold item to hero
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Ordered unit) Equal to (My shop)
    • Actions
      • Hero - Give (Random item in Region <Region it witch is my shop>) to (My hero)
 
Status
Not open for further replies.
Top