Thank you! Bifuu!!
I have set the unit flag of the item to pawnable and i had to increase the range of the sell ability. But it works now!!!
I got another problem and i am getting no help at any forum, maybe you can help me.
I am searching for 2 events, it does not matter how they are realized, but i need them and i cant find any possibility working.
I need the event when an item is dropped (because i want to remove it then, but it should still be dropable) and i need the event when an item is used, until now i have just found one indirectly when giving an item the spawn ability and get this with triggers and remove the unit afterwards with trigger.
Hey, i did this tutorial and my shop works fine, except the pawn function.
I added a new ability based on CAbilPawn and increased the range to 1.
But always when i want to sell it (move item from inventory to structure) it says the unit you want to give that item needs an inventory. So it just wants to give it to the unit, not selling it.
And even if i add an inventory it just drops the item to the ground...
So whats wrong, how has the pawn ability to be?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
@Bifuu: Go
Thank you! Bifuu!! I have set the unit flag of the item to pawnable and i had to increase the range of the sell ability. But it works now!!!
I got another problem and i am getting no help at any forum, maybe you can help me.
I am searching for 2 events, it does not matter how they are realized, but i need them and i cant find any possibility working.
I need the event when an item is dropped (because i want to remove it then, but it should still be dropable) and i need the event when an item is used, until now i have just found one indirectly when giving an item the spawn ability and get this with triggers and remove the unit afterwards with trigger.
@Bifuu: Go
Hey, i did this tutorial and my shop works fine, except the pawn function.
I added a new ability based on CAbilPawn and increased the range to 1.
But always when i want to sell it (move item from inventory to structure) it says the unit you want to give that item needs an inventory. So it just wants to give it to the unit, not selling it. And even if i add an inventory it just drops the item to the ground...
So whats wrong, how has the pawn ability to be?