scripts/3_Game/Entities/EntityAI.c
//! 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'. 
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'.
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 ' .
void HideAllSelections()
	{
		string cfg_path = "cfgVehicles " + GetType() + " AnimationSources";
		if ( GetGame().ConfigIsExisting(cfg_path) )
		{
			int	selections = GetGame().ConfigGetChildrenCount(cfg_path);
			for (int i = 0; i < selections; i++)
			{
				string selection_name;
				GetGame().ConfigGetChildName(cfg_path, i, selection_name);
				HideSelection(selection_name);
			}
		}
	}
void HideAllSelections ( ) { string cfg_path = " " + GetType ( ) + " " ; if ( GetGame ( ) . ConfigIsExisting ( cfg_path ) ) { int selections = GetGame ( ) . ConfigGetChildrenCount ( cfg_path ) ; for ( int i = 0 ; i < selections ; i ++ ) { string selection_name ; GetGame ( ) . ConfigGetChildName ( cfg_path , i , selection_name ) ; HideSelection ( selection_name ) ; } } }
Sets all animation values to 1, making them INVISIBLE if they are configured in models.cfg in such way.
Sets all animation values to 1 making them INVISIBLE if they are configured in models . cfg in such way .