tvSetValue: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix bad regex effects) Tag: Undo |
mNo edit summary |
||
Line 6: | Line 6: | ||
|0.74|Game version= | |0.74|Game version= | ||
|gr1= GUI Control |GROUP1= | |gr1= GUI Control - Tree View |GROUP1= | ||
|arg= local |Multiplayer Arguments= | |arg= local |Multiplayer Arguments= | ||
Line 48: | Line 48: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
Line 95: | Line 53: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 11:47, 26 September 2020
Description
- Description:
- Sets scalar data to item on given path. IDC means id of parent Tree View. If the given value is not integer, it will be converted to integer
- Groups:
- GUI Control - Tree View
Syntax
- Syntax:
- tvSetValue [idc, path, val]
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- ctrl tvSetValue [path, val]
- Parameters:
- ctrl: Control
- path: Array of Numbers
- val: Number
- Return Value:
- Nothing
Examples
- Example 1:
tvSetValue [101, [0], 555];
- Example 2:
_ctrl tvSetValue [[0,0,0], 14];
Additional Information
- See also:
- tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSorttvSortByValuetvTexttvValue
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note