Page tree
Skip to end of metadata
Go to start of metadata

 

  


Introduced in

Version:VBS3 20.2.0, VBS4 20.1.0

Description

Description:

Checks if a configuration class has been marked as deleted.

Deletion marking can happen, while trying to delete a vehicle type configuration class, if the type is still being used. If the class does not 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 - Configuration class to check.
Return Value:Boolean - Returns true, if the class has been marked as deleted or does not exist.

Examples

Examples:
_res = (configFile >> "CfgVehicles") deleteClass "myVehicle"; _deleted = isDeleted (configFile >> "CfgVehicles" >> "myVehicle");

Additional Information

See also:deleteClassisClass
Multiplayer:
Problems: