Hero Restricted items

Sp3tZn4z

Cool Member
Reaction score
2
Lets say i have the blademaster and the tauren chieftain and a shop ok
well in that shop i want an item for the blademaster but the tauren chieftain is unable to buy that weapon. now the question is how do i do that ??? gotta be triggers i think but wut triggers lol ???
 

XXXconanXXX

Cocktails anyone?
Reaction score
284
Maybe somthing like this?:

Remove item
Events
Unit - A unit Acquires an item
Conditions
(Unit-type of (Hero manipulating item)) Not equal to Blademaster
(Item-type of (Item being manipulated)) Equal to Claws of Bladestorm
Actions
Hero - Drop (Item being manipulated) from (Hero manipulating item)
 

Sp3tZn4z

Cool Member
Reaction score
2
Unit - acquires an item

its obsolete and not working

but thx again for helping ill try it another way
and if someone can help pls do it
 

Sp3tZn4z

Cool Member
Reaction score
2
Ok i found out how but i got another problem with this trigger now

This far i got :

Events
- Unit - A unit owned by player1 (red) Acquires an item
- Unit - A unit owned by player2 (blue) Acquires an item
- Unit - A unit owned by player1 (teal) Acquires an item
- Unit - A unit owned by player1 (purple) Acquires an item
Conditions
- (Unit-Type of (Hero Manipulating item)) Not equal to blademaster
- (Item-type of (Item being manipulated)) Equal to bladestorm claws
Actions
- Hero - Drop (Item being manipulated) from (hero manipulating item)

But now i want blademaster to be several hero's how can i do it ???

BTW xxconanxxx thx for helping solved the little problem in you trigger see
 

Sp3tZn4z

Cool Member
Reaction score
2
i want several heros to be able to carry that item

example blademaster, blademaster II, etc....
 

XXXconanXXX

Cocktails anyone?
Reaction score
284
Then you don't need the trigger. However, the heroes will be able to cast Bladestorm, but wiht no special effects, jsut the damage. You can make the Bladestorm triggered, and go to www.wc3sear.ch and grab the Bladestorm animation, then attach it to the hero.
 

Sp3tZn4z

Cool Member
Reaction score
2
maybe ill edit my heroes and make them belong to another race and then change my trigger

if someone has another solution pls share it because im pretty lazy right now its already a 45 hour map right now and i dont wanna work on it more then 300 hours lol im patient in mapping :p
 

XXXconanXXX

Cocktails anyone?
Reaction score
284
Then just remove the trigger. All heroes will be able to use that item, but they won't have the Bladestorm animation when they sue the item. If you want something else, you have to be more explanatory as it's pretty difficult to tell what your saying. I throw things out there, and you keep telling me you want something different.
 
L

Ling_Lover

Guest
for the more than 1 condition set an OR (multiple conditions) condition and put all the different types of hero that you want in there with conditions
 

Sp3tZn4z

Cool Member
Reaction score
2
Events
- Unit - A unit owned by player1 (red) Acquires an item
- Unit - A unit owned by player2 (blue) Acquires an item
- Unit - A unit owned by player1 (teal) Acquires an item
- Unit - A unit owned by player1 (purple) Acquires an item
Conditions
-Or - Any (Conditions) are true
- conditions
- (Unit-Type of (Hero Manipulating item)) Not equal to Hero I
- (Unit-Type of (Hero Manipulating item)) Not equal to Hero II
- (Unit-Type of (Hero Manipulating item)) Not equal to Hero III
- (Unit-Type of (Hero Manipulating item)) Not equal to Hero IIII
- (Item-type of (Item being manipulated)) Equal to My Item
- Hero - Drop (Item being manipulated) from (hero manipulating item)

If its this your talking about ling lover it doesnt work because then it becomes unuseable for all the hero's but thx for the help
 

Sp3tZn4z

Cool Member
Reaction score
2
i tried this way and it seems to work properly

Events
- Unit - A unit owned by player 1 (red) Acquires an item
- Unit - A unit owned by player 2 (blue) Acquires an item
- Unit - A unit owned by player 3 (teal) Acquires an item
- Unit - A unit owned by player 4 (purple) Acquires an item
Conditions
- (Unit-type of (Hero manipulating item)) Equal to Hero
- (Item-type of (Item being manipulated)) Equal to My item
Actions
- Hero - Drop (Item being manipulated)) from (Hero manipulating item)

i gotta make it for every unit that shouldnt be able to use that item tho :p
 

XXXconanXXX

Cocktails anyone?
Reaction score
284
You don't have to repaet the trigger over and over. Just make it like this:

Hero drop item
Events
Unit - A unit owned by Player 1 (Red) Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Your item
Or - Any (Conditions) are true
Conditions
(Unit-type of (Hero manipulating item)) Equal to Hero #1
(Unit-type of (Hero manipulating item)) Equal to Hero #2
(Unit-type of (Hero manipulating item)) Equal to Hero #4 and so on
Actions
Hero - Drop (Item being manipulated) from (Hero manipulating item)
 

XXXconanXXX

Cocktails anyone?
Reaction score
284
Could you show a picture of the trigger in you trigger editor? Worked fine for me when I tryed it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top