250 {
251 string cfg_path =
"cfgVehicles " +
GetType() +
" AnimationSources";
252
253 if (
g_Game.ConfigIsExisting(cfg_path))
254 {
255 int selections =
g_Game.ConfigGetChildrenCount(cfg_path);
256 string proxy_selection_name;
257
258 for (int i = 0; i < selections; i++)
259 {
260 string selection_name;
261 g_Game.ConfigGetChildName(cfg_path, i, selection_name);
262 if (hide_animations)
263 {
264 SetAnimationPhase(selection_name, 1);
265 }
266
267 proxy_selection_name = selection_name;
268 proxy_selection_name.
ToLower();
269 if (hide_physics)
270 {
271 RemoveProxyPhysics(proxy_selection_name);
272 }
273 }
274 }
275 }
eBleedingSourceType GetType()
proto int ToLower()
Changes string to lowercase. Returns length.