Hey, i'm trying to figure the loo system, and have met some issues. I have 3 working items, 2 weapons and 1 behavoir. But when i added 1 more behavior ability the unit get fuced completely. He can't move or trade buy items from the vendor anymore. When i drop the bugger item, i get mu movement back, but if i buy an item it don't get inmy inventory, it just spawn under the Vendor. Anyone able to pinpoint what might be wrong in the settings?
Also, if i have 2 or more of the same weapons, how di i make the Unit use them all? curently it only use 1 of them...
that has to do with the interact distance and inventory pickup distance. if the shop's interact distance is higher than pickup distance it will drop the item on the ground typically. It also does this when multiple units with inventories are close enough to the shop, or when your inventory is full. you can make a validator that only allows you to buy items when the interacting unit's inventory is not full, or you could make a trigger that destroys items on the ground and gives the owning player money back so that it would appear to never hit the ground.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey, i'm trying to figure the loo system, and have met some issues. I have 3 working items, 2 weapons and 1 behavoir. But when i added 1 more behavior ability the unit get fuced completely. He can't move or trade buy items from the vendor anymore. When i drop the bugger item, i get mu movement back, but if i buy an item it don't get inmy inventory, it just spawn under the Vendor. Anyone able to pinpoint what might be wrong in the settings?
Also, if i have 2 or more of the same weapons, how di i make the Unit use them all? curently it only use 1 of them...
Thanks in advance!
@KimmysCurse: Go
Maybe your item has the behavior Modification which has Enabled "Disable Inventory" under ability tab of Behavior Modification?
@crutex: Go
I tried to give the shop ability to another unit and the Movement bugg disapered, but items still spawn under me when i buy them =/
@KimmysCurse: Go
that has to do with the interact distance and inventory pickup distance. if the shop's interact distance is higher than pickup distance it will drop the item on the ground typically. It also does this when multiple units with inventories are close enough to the shop, or when your inventory is full. you can make a validator that only allows you to buy items when the interacting unit's inventory is not full, or you could make a trigger that destroys items on the ground and gives the owning player money back so that it would appear to never hit the ground.