Page tree

Versions Compared

Key

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

...

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 be checkedcheck.
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:

...