Vecais Dumais Laacis 38f93f78cf allows to choose which profile to use (should be used before style selection like ScreenProfileLoad)
lua functions:

bool SetProfileIndex(PlayerNumber, profileindex)

if profileindex == -2 - unloads specified player
if profileindex == -1 - sets choosed profile to none (if any human player profileindex is set to -1 then screen cannot finish)
also joins player if player was not joined before
if profileindex == 0 - sets choosed profile to use memory card (memory card should be mounted at this point)
if profileindex >0 and profilexindex <numlocalprofiles - sets choosed profile to one of local profiles

other values returns false
true is returned on successful operation

int GetProfileIndex(PlayerNumber)
returns selected profileindex for player

bool Finish
tries to load selected profiles and proceed to next screen
returns false if not all players are finished choosing or players have selected the same local profiles

Cancel - returns to previous screen
2007-08-08 09:57:53 +00:00
S
Description
Languages
C++ 85.7%
Lua 4.3%
C 4.3%
Rich Text Format 2.3%
CMake 1.1%
Other 2%