TextList.sort Question
by Ronald J Nelson · in Torque Game Engine · 12/13/2005 (8:55 am) · 2 replies
With textList.sort I know you can sort a column by "increasing" but is there a way to do it by "decreasing?
By the way the word decreasing instead of increasing doesn't work.
By the way the word decreasing instead of increasing doesn't work.
#2
http://www.garagegames.com/mg/forums/result.thread.php?qt=36701
Although I had to use a 4.
12/13/2005 (9:56 pm)
Well it looks like someone beat me to this:http://www.garagegames.com/mg/forums/result.thread.php?qt=36701
Although I had to use a 4.
Torque Owner Ronald J Nelson
Code Hammer Games
function joinLanGui::join(%this) { cancelServerQuery(); %id = JL_serverList.getSelectedId(); // The server info index is stored in the row along with the // rest of displayed info. %index = getField(JL_serverList.getRowTextById(%id),6); if (setServerInfo(%index)) { %conn = new GameConnection(ServerConnection); %conn.setConnectArgs($pref::Player::Name); %conn.setJoinPassword($Client::Password); %conn.connect($ServerInfo::Address); } } //---------------------------------------- function joinLanGui::refresh(%this) { cancelServerQuery(); %id = JL_serverList.getSelectedId(); // The server info index is stored in the row along with the // rest of displayed info. %index = getField(JL_serverList.getRowTextById(%id),6); if (setServerInfo(%index)) { querySingleServer( $ServerInfo::Address, 0 ); } } //---------------------------------------- function joinLanGui::refreshSelectedServer( %this ) { querySingleServer( $JoinGameAddress, 0 ); }Any help you can give would really be appreciated.