marieruth Posted June 5, 2014 Share Posted June 5, 2014 So I set the percent discount in a script to be 100% or BlahBlahBlah.ShowBarterMenu -100 To essentially be free, but in the GECK wiki, I saw this: http://i.imgur.com/eCoZXfV.png The prices in the game don't change at all when I have it set to -100 Would -99 or something create the same effect? Link to comment Share on other sites More sharing options...
Jojash Posted June 5, 2014 Share Posted June 5, 2014 (edited) If your goal is to allow the player to freely move items between their own inventory and an NPC's, why not simply use OpenTeammateContainer? Contrary to what the name suggests, this function can be used on any NPC, rather than just team-mates of the player, by simply setting the IgnoreTeammate flag to one. For example, calling the function like this: ExampleRef.OpenTeammateContainer 1Will allow the player to access ExampleRef's inventory in the same way that they might access a companion's inventory, regardless of whether the player is actually ExampleRef's team-mate or not. Hope this helps! :smile: Edited June 5, 2014 by Jojash Link to comment Share on other sites More sharing options...
marieruth Posted June 5, 2014 Author Share Posted June 5, 2014 If your goal is to allow the player to freely move items between their own inventory and an NPC's, why not simply use OpenTeammateContainer? Contrary to what the name suggests, this function can be used on any NPC, rather than just team-mates of the player, by simply setting the IgnoreTeammate flag to one. For example, calling the function like this: ExampleRef.OpenTeammateContainer 1Will allow the player to access ExampleRef's inventory in the same way that they might access a companion's inventory, regardless of whether the player is actually ExampleRef's team-mate or not. Hope this helps! :smile: Oh, I haven't even heard of that before, thanks for sharing that with me! It'll help me out greatly. Link to comment Share on other sites More sharing options...
Recommended Posts