addValue (VBS2)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.19
Description
- Description:
- Add new value to class. If value exists then the value is updated.
Syntax
- Syntax:
- classname addValue [valuename,valuecontent]
- Parameters:
- classname: Config -
- valuename: String -
- valuecontent: Anything -
- Return Value:
- Nothing
Examples
- Example 1:
"myClass addValue [""NewValue"",4]"
Additional Information
- Multiplayer:
- Behaviour unknown.

