I can't get my pawn ability to work.
I created a building with an interact and pawn ability, the pawn ability has 500 range and a 0.5 refund fraction, thats the only thing I changed it.
So, when I right click the item and try to sell it in the "shop" building, it says the unit needs an inventory (like if instead of selling the item, I was transfering it to the building), and if I put the inventory on the unit, it doesn't sell, the shop just gets the item and nothing happens.
So, I'd like to know how to make a working and decent pawn ability!
I can't get my pawn ability to work. I created a building with an interact and pawn ability, the pawn ability has 500 range and a 0.5 refund fraction, thats the only thing I changed it. So, when I right click the item and try to sell it in the "shop" building, it says the unit needs an inventory (like if instead of selling the item, I was transfering it to the building), and if I put the inventory on the unit, it doesn't sell, the shop just gets the item and nothing happens.
So, I'd like to know how to make a working and decent pawn ability!
@Metrael: Go
bump
@Metrael: Go
bumping again :)
Bumping again :\ Plz help me if you know the right way to do a pawn ability
same problem :/
Probably a little late for an answer...
However if anyone encounters this same problem, the answer is to set the unit flag "pawnable" on any item (unit for the item) you want to be pawnable.
There is also an area in the unit editor that sets the pawn fraction (percentage of resources you will get back when you pawn an item)
Hope this helps someone :)