BetterDeadThanZed

Question about the traders

5 posts in this topic

Advertisement

Define a category first;

	class BlackMarketExplosives
	{
		name = "Explosives";
		icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemoptic_ca.paa";
		items[] =
		{
			"B_IR_Grenade",
			"O_IR_Grenade",
			"I_IR_Grenade",
			"1Rnd_HE_Grenade_shell",
			"3Rnd_HE_Grenade_shell",
			"APERSBoundingMine_Range_Mag",
			"APERSMine_Range_Mag",
			"APERSTripMine_Wire_Mag",
			"ClaymoreDirectionalMine_Remote_Mag",
			"DemoCharge_Remote_Mag",
			"IEDLandBig_Remote_Mag",
			"IEDLandSmall_Remote_Mag",
			"IEDUrbanBig_Remote_Mag",
			"IEDUrbanSmall_Remote_Mag",
			"SatchelCharge_Remote_Mag",
			"SLAMDirectionalMine_Wire_Mag"
		};
	};

Then add the category to the trader you want it on;

	class Exile_Trader_CommunityCustoms
	{
		name = "Black Market";
		showWeaponFilter = 0;
		categories[] = 
		{
			"BlackMarketExplosives",
			"BlackMarketGadgets",
			"BlackMarketScopes",
			"BlackMarketStock"
		};
	};

};

:)

1 person likes this

Share this post


Link to post
Share on other sites

Thank you. class CfgTraders is what I was looking for!

No probs! Ha ha, forgot to add that part :D

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.