227 {
228 string cfg_path =
"cfgVehicles " +
GetType() +
" AnimationSources";
229
230 if (
GetGame().ConfigIsExisting(cfg_path))
231 {
233 string proxy_selection_name;
234
235 for (int i = 0; i < selections; i++)
236 {
237 string selection_name;
239 if (hide_animations)
240 {
241 SetAnimationPhase(selection_name, 1);
242 }
243
244 proxy_selection_name = selection_name;
245 proxy_selection_name.
ToLower();
246 if (hide_physics)
247 {
248 RemoveProxyPhysics(proxy_selection_name);
249 }
250 }
251 }
252 }
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.
proto native CGame GetGame()
proto int ToLower()
Changes string to lowercase. Returns length.