19.12.2013, 18:16
In editfaction you need to loop through FInfo and format all names inside the loop and show afterwards the string in the dialog
After this dialog (DIALOG_EDITFAC) you need to store the selected id (listitem) in an global array and just show the name and the type from the id
In DIALOG_EDITFAC1 the listitem doesn't matter since it always shows the same and we already stored the id
At the end (DIALOG_EDITFAC2) you only need to set the name of the faction stored in the array otherwise return to DIALOG_EDITFAC1
After this dialog (DIALOG_EDITFAC) you need to store the selected id (listitem) in an global array and just show the name and the type from the id
In DIALOG_EDITFAC1 the listitem doesn't matter since it always shows the same and we already stored the id
At the end (DIALOG_EDITFAC2) you only need to set the name of the faction stored in the array otherwise return to DIALOG_EDITFAC1