Page MenuHomeFeedback Tracker

CzechMate
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 18 2013, 6:16 AM (609 w, 6 d)

Recent Activity

May 10 2016

CzechMate added a comment to T63760: ctrlText and lbCurSel not working.

Hi; thanks for responding.

action = "[0, 0, 0, [""create"", (ctrlText 1)]] execVm ""gangs.sqf""; closedialog 0;";

(line 521 in maindialogs.hpp - AAA Zargabad Life version)

This is the action from life missions to create gangs. If I'm not mistaken, ctrlText 1 is suppose to read the name of the gang that you typed in. The dialog itself is working and pressing this action executes "gangs.sqf" properly, it just doesn't read what you typed in (passes " " to "gangs.sqf").

buttonSetAction [2, "[lbData [1, (lbCurSel 1)],""buy""] execVM ""impound.sqf"";"];};

(line 244 in maindialogs.sqf - AAA Zargabad Life version)

This action is suppose to select the vehicle out of the list of impounded vehicles in life missions. Again, the dialog list works correctly with all impounded vehicles being correctly listed. And pressing the action properly executes "impound.sqf", but this time it passes "-1" no matter what you select in the list.

I do hope it is just a change of syntax.

May 10 2016, 12:56 AM · Arma 3
CzechMate edited Steps To Reproduce on T63760: ctrlText and lbCurSel not working.
May 10 2016, 12:56 AM · Arma 3