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



Introduced in

Version:1.19

Description

Description:Add a new value to the given class. If the value exists, then it is updated. If the class is read from memory (for example, a configuration file, like such as CfgVehicles), then redefining the properties (by using addValue on an existing class) leads to unpredictable results (due to caching). Most likely, the value does not get updated.

Syntax

Syntax:classname addValue [valuename,valuecontent]
Parameters:
Return Value:Nothing

Examples

Examples:
myClass addValue ["NewValue",4]

Additional Information

See also: getValue
Multiplayer: 
Problems: 

Notes