Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

FrightScript.KF_Roulette_Ball


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
/*
	--------------------------------------------------------------
	KF_Roulette_Ball
	--------------------------------------------------------------

	Bounce Bounce.

	Author :  Alex Quick

	--------------------------------------------------------------
*/

class KF_Roulette_Ball extends Actor
placeable;

/* Animation to play while this ball is rolling */
var name    RollAnim;

function StartRolling()
{
    bFixedRotationDir = true;
    bRotateToDesired = false;

    if(RollAnim != '')
    {
        PlayAnim(RollAnim,1.f,0.1f);
    }
}

function StopRolling()
{
    bFixedRotationDir = false;
    bRotateToDesired = true;
}

defaultproperties
{
     RollAnim="Ball_Roll"
     DrawType=DT_Mesh
     bNoDelete=True
     Physics=PHYS_Rotating
     Mesh=SkeletalMesh'Pier_anim.RTL_Ball'
     DrawScale=0.750000
     PrePivot=(Z=-5.000000)
     Skins(0)=Texture'Engine.DecoPaint'
     RotationRate=(Yaw=19000)
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fri 13-10-2023 03:17:26.000 - Creation time: Fri 13-10-2023 03:19:04.573 - Created with UnCodeX