Jump to content
J J

Inherit configFile class in mission

Recommended Posts

Hi everyone, 

Little overview, I am making a survival mission and I want to add items that are required for crafting (things like sandbags, woodplanks and cinderblock etc.)
In my mission description.ext I am creating classes under the CfgWeapons for these items.

However, I would like to inherit the itemCore class from configFile >> CfgWeapons >> itemCore to make my life much much easier.
Simply calling the class like you would for an addon (class itemCore;) doesn't work as I am in the missionConfigFile namespace.

So my question is, Is it possible to inherit a class from configFile while working inside missionConfigFile, and if not what would be the best way to go about this?

Thanks in advance!

Share this post


Link to post
Share on other sites

Thanks @7erra Import is exactly what I was looking for.
It is very unfortunate that I can't create items from the mission. Guess I will just make a small mod for it.

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

×