Items need to be connected to a unit type, under units the field Stats: Units you can specifiy which item the unit is connected to. Since items in the game are just units. If you want to check if the inventory of a unit has a specific item you have to compare it against a unit type (i.e. Marine). So you can use a unit group loop like this:
Hi! To make a behavior stackable, head to the Stats: Maximum Stack Count field of the behavior or just search for "stack" in the search bar. And to hide the units in the terrain editor, go to View->Show Layer->Units (Shift-U).
@Kabelkorven: Go If you want to do it like Masked suggests, you need to place the units in the terrain editor first, one hero unit for every player. Now make the variables of the Unit Group type and then change the unit in the events to the units you placed in the terrain editor (pre-placed unit are under the Value tab). And now you can select your global variable.
At the moment the defeat conditions is per team, not per player. As long as one player in the team has his hero alive, then no player is defeated yet.
0
Items need to be connected to a unit type, under units the field Stats: Units you can specifiy which item the unit is connected to. Since items in the game are just units. If you want to check if the inventory of a unit has a specific item you have to compare it against a unit type (i.e. Marine). So you can use a unit group loop like this:
0
Hi! To make a behavior stackable, head to the Stats: Maximum Stack Count field of the behavior or just search for "stack" in the search bar. And to hide the units in the terrain editor, go to View->Show Layer->Units (Shift-U).
0
Would you like a kitchen with that? We've got plenty.
0
@Kabelkorven: Go If you want to do it like Masked suggests, you need to place the units in the terrain editor first, one hero unit for every player. Now make the variables of the Unit Group type and then change the unit in the events to the units you placed in the terrain editor (pre-placed unit are under the Value tab). And now you can select your global variable.
At the moment the defeat conditions is per team, not per player. As long as one player in the team has his hero alive, then no player is defeated yet.
0
@Kabelkorven: Go You've selected custom script in the second image. Just select the variables tab and select your global variable.
0
You did put the images into the public folder right?
Edit: Ok, that's weird. I downloaded it my public dropbox folder and it works.
0
Sixen is the admin of the site.
0
Just look on Battle.net for the maps. If they are not there ask the creator to upload them or upload them yourself.
0
Here are a few tutorials on shops:
http://www.sc2mapster.com/forums/resources/tutorials/964-video-data-wc3-shop-emulation/
http://www.sc2mapster.com/forums/development/map-development/8479-a-better-way-to-shop-improving-wc3-shop-emulations/
http://www.sc2mapster.com/forums/resources/tutorials/40918-triggerless-items-shops-new-method-unique-items-full/
A way to overcome that is to temporarily change the shop owner to the buying player.
0
Here's mine again, this time I uploaded the map with the screenies. =)
0
@Diego6D: Go Try the event Unit manipulates inventory.
0
I haven't done a WTE in ages! Here's something I made. Maybe it needs more rocks.
0
I updated the library to fit with the guidelines, I think. It's a really handy library.
0
@ZombieZasz: Go
Genius! Someone change the main logo to that!
0
These are hilarious.