Generates random equip for the new IntroSceneCharacter, whatever is defined in 'cfgCharacterCreation'.
См. определение в файле IntroSceneCharacter.c строка 299
300 {
304
305 if (!default_char &&
m_CharacterDta.GetLastPlayedCharacter() > -1 )
306 {
309 }
310
311
316
317
321
322
324 for (int i = 0; i < characters.Count(); i++)
325 {
326 string char_cfg_name = characters.Get(i);
327 if (
GetGame().IsKindOf(char_cfg_name,
"SurvivorMale_Base") )
328 {
330 }
331 else
332 {
334 }
335 }
336
338
340 {
343 else
345 }
346 }
override TStringArray ListAvailableCharacters()
PlayerBase GetCharacterObj()
ref TStringArray m_CharGenderList
void SetCharacterGender(ECharGender gender)
void CreateNewCharacterById(int character_id)
ref TStringArray m_CharShirtList
ref TStringArray m_CharPantsList
ref map< ECharGender, ref array< string > > m_Characters
ref TStringArray m_CharShoesList
proto native CGame GetGame()
array< string > TStringArray
Перекрестные ссылки CreateNewCharacterById(), g_Game, GetCharacterObj(), GetGame(), CGame::ListAvailableCharacters(), m_CharacterDta, m_CharacterId, m_CharacterPos, m_CharacterRot, m_Characters, m_CharGenderList, m_CharPantsList, m_CharShirtList, m_CharShoesList и SetCharacterGender().