Jump to content
Sign in to follow this  
AveryTheKitty

Adding Glasses to Units

Recommended Posts

I'm working on some Diver units for my mod OAS BAF, and I want to know how to assign a unit to use only one type of glasses (Specifically "G_Diver") and nothing else.

Please help, and thank you. :confused:

Share this post


Link to post
Share on other sites

No no no. I mean through Config.cpps. That's why I put this in Configs & Scripting.

Share this post


Link to post
Share on other sites

    class B_diver_TL_F: B_Soldier_diver_base_F    {
       author = "$STR_A3_Bohemia_Interactive";
       _generalMacro = "B_diver_TL_F";
       scope = 2;
       [color=#ff0000][b]linkedItems[] = {"V_RebreatherB","G_Diving","ItemGPS","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
       respawnLinkedItems[] = {"V_RebreatherB","G_Diving","ItemGPS","ItemMap","ItemCompass","ItemWatch","ItemRadio"};[/b][/color]
       displayName = "$STR_B_diver_TL_F0";
       icon = "iconManLeader";
       cost = 430000;
       camouflage = 2.0;
   };

That red part is probably what you want

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×