Jump to content
Sign in to follow this  
dezkit

How to get this hide animation to work

Recommended Posts

Basically what I want is simple

I want everything below 0 to be visible and everything above 0 to be hidden. I can't make it work

Class Example

{

Type="hide";

Source="speed";

Selection="example";

//minValue=-100;

//maxValue=100;

//unhidevalue=-100;

//hidevalue=100;

};

This is definitely wrong but I can't figure out.

It might need two animations but I'm not sure

Share this post


Link to post
Share on other sites

that's a hide and unhide bit of code..yes you need two different classes

		class Hitzone_1_hide
		{
			type			= hide;
			source			= Hitzone_1_source; 
			selection		= dam1;
			minValue		= 0;
			maxValue		= 1;
			hideValue		= 0.99999;				
		};
		class HitZone_1_unhide : Hitzone_1_hide
		{
			selection		= unhide1;
			hideValue		= 0;
			unhideValue     = 0.99999;
		};

even tho this is for damage it should work the same way

Edited by M1lkm8n

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×