Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Alen101 on Wed 16/12/2015 04:16:36

Title: player give item to other player
Post by: Alen101 on Wed 16/12/2015 04:16:36
?????????

Is there an easy way for a player to give an item to another player.
What i need to do is:
Select an item from the inventory of player one,
Then use it on player two,
then, player one loses that item and player two earns it.
Title: Re: player give item to other player
Post by: MiteWiseacreLives! on Wed 16/12/2015 04:54:50
Go into the events pane for character 2, activate 'use inventory on character' then go to the manual and look up character.AddInventory() 
Title: Re: player give item to other player
Post by: Khris on Wed 16/12/2015 09:53:32
Did you try Snarky's suggestion?
http://www.adventuregamestudio.co.uk/forums/index.php?topic=52982.0
Title: Re: player give item to other player
Post by: Alen101 on Wed 16/12/2015 13:12:04
oh! sorry!
Some weeks have passed since i put the first question, and i have forgotten i have already asked!
I will try Snarky's suggestions, thanks! and sorry again.