Using .txt files as shell variables for listboxes.

Moderators: GSH, VSMIT, Red Devil, Commando

Post Reply
User avatar
TheJamsh
Bull Dog
Posts: 689
Joined: Sat Feb 19, 2011 5:49 pm

Using .txt files as shell variables for listboxes.

Post by TheJamsh »

To save myself making a helluva lot of UI files, does anybody know a way to use .txt files as a variable for the shell?

Basically, I have an XSI viewer and a description box underneath it. It's easy to get the model in the viewer to change when I press a button, but I also want to change whatever is in the listbox underneath. Kind of like how the multiplayer shell auto-fills the listbox with information from the vehicles .inf file, but from a .txt file instead.

Anybody know if this is even possible? I can still do it with a workaround, but that's going to be a HECK of a lot of extra .cfg files...
Developer @ Stormtide
viewtopic.php?f=4&t=2350#p40547 << My UE4 Battlezone Project

ModDB - Battlezone II Unofficial Expansion Pack
Post Reply