Sets all animation values to 0, making them VISIBLE if they are configured in models.cfg in such way. These selections must also be defined in the entity's config class in 'AnimationSources'.
См. определение в файле 3_Game/DayZ/Entities/EntityAI.c строка 1421
1422 {
1423 string cfg_path =
"cfgVehicles " +
GetType() +
" AnimationSources";
1424
1425 if (
g_Game.ConfigIsExisting(cfg_path) )
1426 {
1427 int selections =
g_Game.ConfigGetChildrenCount(cfg_path);
1428
1429 for (int i = 0; i < selections; i++)
1430 {
1431 string selection_name;
1432 g_Game.ConfigGetChildName(cfg_path, i, selection_name);
1434 }
1435 }
1436 }
eBleedingSourceType GetType()
void ShowSelection(string selection_name)
Shows selection of the given name. Must be configed in config.hpp and models.cfg.
Перекрестные ссылки g_Game, GetType() и ShowSelection().