Sets all animation values to 1, making them INVISIBLE if they are configured in models.cfg in such way. These selections must also be defined in the entity's config class in 'AnimationSources'.
1384 {
1385 string cfg_path =
"cfgVehicles " +
GetType() +
" AnimationSources";
1386
1387 if (
GetGame().ConfigIsExisting(cfg_path) )
1388 {
1390
1391 for (int i = 0; i < selections; i++)
1392 {
1393 string selection_name;
1396 }
1397 }
1398 }
eBleedingSourceType GetType()
proto bool ConfigGetChildName(string path, int index, out string name)
Get name of subclass in config class on path.
proto native int ConfigGetChildrenCount(string path)
Get count of subclasses in config class on path.
void HideSelection(string selection_name)
Hides selection of the given name. Must be configed in config.cpp and models.cfg.
proto native CGame GetGame()