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'.
1402 {
1403 string cfg_path =
"cfgVehicles " +
GetType() +
" AnimationSources";
1404
1405 if (
GetGame().ConfigIsExisting(cfg_path) )
1406 {
1408
1409 for (int i = 0; i < selections; i++)
1410 {
1411 string selection_name;
1414 }
1415 }
1416 }
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 ShowSelection(string selection_name)
Shows selection of the given name. Must be configed in config.hpp and models.cfg.
proto native CGame GetGame()