武装突袭 Wiki
Advertisement
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

點擊圖片可看到更多訊息

開始使用於

遊戲:
Arma 2
版本:
1.00

描述

描述:
Returns the additional text (invisible) in an item with the given position of the 2D listbox.

基本句法

句法:
lnbData [idc(Number) or Control,[row(Number),column(Number)] ]
參數:
[idc(Number) or Control,[row(Number),column(Number)] ]: Array
返回值:
String

替代句法

句法:
_ctrl lnbData [row(Number),column(Number)]
參數:
_ctrl: Control
[row(Number),column(Number)]: Array
返回值:
String

範例

範例1:
_ctrl lnbData [ lnbCurSelRow _ctrl,0]; //"#1"

額外資訊

多人遊戲:
-
也可以看看:
lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue

注意事項

此處撰寫句法皆為可行用法. 可到官網[1]專頁回報錯誤. 你可以使用討論頁面或是論壇來進行討論.
新增注意事項 | 如何新增?

Notes

Posted on Sep 9 2014
ffur2007slx2_5
(A3 1.28)As for invisible data processing, lnbAddArray, lnbAddColumn, lnbData, lnbGetColumnsPosition, lnbSetColumnsPos, lnbSetData, lnbSetText, lnbSetValue, lnbText and lnbValue store data types into exact position of the listNbox with different spaces. Accessing data with coordinate command at nearly the same syntax: //Set same value to one position of a Control _ctrl lnbSetData [ [0,0],"#1"]; lnbSetColumnsPos [102, [0,1], 1]; _ctrl lnbSetText [ [0,1], "#1"]; _ctrl lnbSetValue [ [0,0],1]; //Accessing the value disregard affecting one another. _ctrl lnbData [0,0]; //"#1" lnbGetColumnsPosition _ctrl //[1]; _ctrl lnbText [0,0];//"#1" _ctrl lnbValue [0,0];//1 For a direct visible control over CT_LISTNBOX: 0 = [_CT_LISTNBOX] spawn { private ["_CT_LISTNBOX","_color","_current","_pic"]; disableSerialization; _CT_LISTNBOX = _this select 0; { _CT_LISTNBOX lnbAddRow [ getText (_x >> "displayNameShort"),getText (_x >> "displayName")]; _CT_LISTNBOX lnbSetPicture [ [_foreachIndex,0],getText (_x >> "texture")]; } forEach ("isClass _x" configClasses (configFile >> "CfgRanks")); _CT_LISTNBOX lnbSetCurSelRow 0; File:WuChaoRen 000.png _current = lnbCurSelRow _CT_LISTNBOX; _color = _CT_LISTNBOX lnbColor [_current,0]; _CT_LISTNBOX lnbSetColor [ [_current,1], [(_color select 0)/2,0,0,1] ]; File:WuChaoRen 001.png _CT_LISTNBOX lnbDeleteColumn 0; File:WuChaoRen 002.png _CT_LISTNBOX lnbDeleteRow 1; File:WuChaoRen 003.png sleep 1; lnbClear _CT_LISTNBOX;//Clear all items but control still remains just invisible. }; A combined use of both invisible and visible data processing commands alive the Control.

Bottom Section

Advertisement