GuiTextArrayProfile
by Howard Dortch · in Torque Game Engine · 10/08/2004 (9:02 am) · 2 replies
I coppied the text array from the fps.starter, the one that lists the missions. I wanted to use the same code to let the user select a saved file. It opens up, shows all the files in the directory and I can select each one. When I try to retreive the names I get nothing. I use echo to print the %id value and it's valid but when I do this call %Name is null.
%Name = getField(GameMissionList.getRowTextById(%id), 1);
any clue as to how to retreive the name from the list?
%Name = getField(GameMissionList.getRowTextById(%id), 1);
any clue as to how to retreive the name from the list?
#2
10/08/2004 (11:34 am)
I found the magic trick I think. have to set the index to 0 and now it works. May not be right but.....
Torque Owner Gonzo T. Clown