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 строка 1449
1450 {
1451 string cfg_path =
"cfgVehicles " +
GetType() +
" AnimationSources";
1452
1453 if (
g_Game.ConfigIsExisting(cfg_path) )
1454 {
1455 int selections =
g_Game.ConfigGetChildrenCount(cfg_path);
1456
1457 for (int i = 0; i < selections; i++)
1458 {
1459 string selection_name;
1460 g_Game.ConfigGetChildName(cfg_path, i, selection_name);
1462 }
1463 }
1464 }
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().