Off the top of my head, no, as it would require a check for the inventory. The place to start is looking at validators if it is possible however, give it a shot, just remember inventories are abilities, so a validator checking abilities may give the right thing
I have not worked much with Triggers but from what i hear that there is very limited support for Items in the Triggers, so im afraid what you want to do may not be possible OR just may need a work around that no one else has discovered
Nice work. I had been thinking about how to get an item shop working in my map, this pretty much solved it, and provided some laughs as well.
The one problem I have had, is my item shop is assigned to Player 0(neutral), and when I set a cost to buy items, they cannot be built because I am not allowed to spend another players resources(curse that greedy player 0). I will look for a solution later when I have time.
The only time ive seen that bug is when the shops is set for another player and not neutral, so double check that
also glad you had some laughs, i try to add humor to my stuff so its not boring
i decided to do a video tutorial just because iw anted to see how it went and it went pretty well, So expect more of these from me, Ill probably end up doing text based tutorials in the future to go along with my videos and maybe eventually making a recording of my Hero Tutorial too.
But enough of this, this Tutorial will Show you how to Buy and Sell thing just like WC3, its pretty cool and i accidentally found it, as i explain in the video
(Note if you go there right after i post this, youtube is still processing it for quality to soon it should be up in 720! just be patient!)
Off the top of my head, no, as it would require a check for the inventory. The place to start is looking at validators if it is possible however, give it a shot, just remember inventories are abilities, so a validator checking abilities may give the right thing
@BeLugh: Go
I have not worked much with Triggers but from what i hear that there is very limited support for Items in the Triggers, so im afraid what you want to do may not be possible OR just may need a work around that no one else has discovered
@BeLugh: Go
Did you set the flags on the items to be Pawnable?
My main project has items you have to pay resources for and it works fine. I just think you (CEMEHbl4) should double check everything
What i mean by not allying is dont have a trigger that sets alliance for players and the neutral computer.
It works, just dont ally your players with neutral players.
Go download the map i put in the description on the youtube page. works great.
Well it is neutral in the fact that its defaulted to neutral to all players, much like the watch towers =P
The only time ive seen that bug is when the shops is set for another player and not neutral, so double check that
also glad you had some laughs, i try to add humor to my stuff so its not boring
shhhhhhhhhhhh dont tell anyone
i decided to do a video tutorial just because iw anted to see how it went and it went pretty well, So expect more of these from me, Ill probably end up doing text based tutorials in the future to go along with my videos and maybe eventually making a recording of my Hero Tutorial too.
But enough of this, this Tutorial will Show you how to Buy and Sell thing just like WC3, its pretty cool and i accidentally found it, as i explain in the video
(Note if you go there right after i post this, youtube is still processing it for quality to soon it should be up in 720! just be patient!)