User Tools

Site Tools


arma3:config:iteminfo-error

ArmA 3 Class ItemInfo Error

kju posted: in the past the engine did not check for these type of error. as they need it more strict for Eden, etc, they are enforcing the correct policy

inheritance definitions need to be defined in the scope the class has originally been defined.

class ItemInfo; // wrong
 
class cfgWeapons
{
	class ItemInfo; // wrong
 
	class Default
	{
		class ItemInfo; // wrong
	};
 
	class ItemCore;
	class ItemWatch: ItemCore
	{
		class ItemInfo; // correct
	};
};
arma3/config/iteminfo-error.txt · Last modified: 2016-11-29 00:14 by snakeman