Here's something I haven't been able to figure out.
How do you transfer all items from unit A to unit B? Is there any way to accomplish this without copying the items into the inventory of B?
However, if a unit is ordered to pick up an item, he has to turn towards the item first before he can pick it up, causing the transferring to be visible. Any way to fix this?
It's working quite nicely, but sometimes there's still a single frame where the items are visible. I'll keep this method in mind if i ever need to move items from one unit to another without copying them. Thanks!
If your items are never meant to appear on the ground, I suppose you could remove the actor or make the actor reaaaaaaaally small in scale so as to be practically invisible. Then no one would ever notice >.>
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey,
Here's something I haven't been able to figure out. How do you transfer all items from unit A to unit B? Is there any way to accomplish this without copying the items into the inventory of B?
Using the Item Utility Library you can order unit A to drop its items, move them to unit B's position, then order unit B to pick the items up.
However, if a unit is ordered to pick up an item, he has to turn towards the item first before he can pick it up, causing the transferring to be visible. Any way to fix this?
@Eldrazor: Go
Move the item to the position of unit B offset by 0.1 toward facing of unit b
It's working quite nicely, but sometimes there's still a single frame where the items are visible. I'll keep this method in mind if i ever need to move items from one unit to another without copying them. Thanks!
@Eldrazor: Go
If your items are never meant to appear on the ground, I suppose you could remove the actor or make the actor reaaaaaaaally small in scale so as to be practically invisible. Then no one would ever notice >.>