Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Introduced in

Version:20.2

Description

Description:

Check if a configuration class has been marked as deleted. This can happen when trying to remove a vehicle type config class if the type is still being used. If the class doesn't exist it is reported as deleted.

Note: If a base class is marked as deleted it can still be inherited from.

Syntax

Syntax:

isDeleted configclass

Parameters:
  • configclass: Config-2 - Config class to be checked.
Return Value:Boolean - Return true, if the class has been marked as deleted or doesn't exist.

Examples

Examples:
_classres = (configFile >> "CfgVehicles") deleteClass "myVehicle"; _statusdeleted = isDeleted _class (configFile >> "CfgVehicles" >> "myVehicle");

Additional Information

See also:deleteClass, isClass
Multiplayer:-
Problems:-

...