Jump to content
  • 0
LINKEN

Add a Structure to a Trader for selling

Question

hi,

 

 

Is it possible to add a structure to the trader for sale? i want to add this item "MAP_Ind_TankSmall".

tried to add this to my custom trader:

class MAP_Ind_TankSmall {
		type = "trade_items";
		buy[] = {3,"ItemGoldBar10oz"};
		sell[] = {1,"ItemGoldBar10oz"};
	};

but it dont work.....

prices are only a example.

i would be happy and grateful for any help!

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Haven't tried it with buildings from a trader, but you could use trade_any_vehicle instead of trade_items.

Make sure you're near an invisible helipad (like a vehicle trader) so the item will spawn in a good place.

Then use the tow/lift load in feature to load the item into a vehicle for transport and placement when back at base.

As I said haven't tried it but that method used to work for static weapons / ammo crates.

Share this post


Link to post
Share on other sites
  • 0
4 hours ago, LINKEN said:

hi,

 

 

Is it possible to add a structure to the trader for sale? i want to add this item "MAP_Ind_TankSmall".

tried to add this to my custom trader:

class MAP_Ind_TankSmall {
		type = "trade_items";
		buy[] = {3,"ItemGoldBar10oz"};
		sell[] = {1,"ItemGoldBar10oz"};
	};

but it dont work.....

prices are only a example.

i would be happy and grateful for any help!

Unfortunately this will not work.

You could try the Advanced Alchemical mod which I think lets you do similar (I could be wrong)

 

Share this post


Link to post
Share on other sites
  • 0
9 hours ago, salival said:

Unfortunately this will not work.

You could try the Advanced Alchemical mod which I think lets you do similar (I could be wrong)

 

looks very good. i will try it.

thank you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
  • Advertisement
  • Supporters
  • Advertisement
  • Discord

×