
The variable:
- Code: Select all
Var(Convo) class<Inventory> ItemForTransfer;
At the top of the function:
- Code: Select all
local DeusExPlayer Player;
local Inventory TransItem;
And the code for picking up the item:
- Code: Select all
TransItem=Spawn(ItemForTransfer);
TransItem.Frob(Player, None);
At default, to test it, it was a pistol. All it does, is spawn a pistol in the NPC's legs and the player doesn't frob it. So, anyone see anything wrong?
Thanks, Cozmo.