Core.Object | +--Engine.Actor | +--Engine.Decoration | +--RuneI.DecorationRune | +--RuneI.Rocks | +--RuneI.RockSmall
void
Timer()
Landed(vector norm, Actor HitActor)
BeginState()
00001 //============================================================================= 00002 // RockSmall. 00003 //============================================================================= 00004 class RockSmall expands Rocks; 00005 00006 00007 State Throw 00008 { 00009 function BeginState() 00010 { 00011 RotationRate = rotator(VRand()); 00012 } 00013 00014 function Landed(vector norm, actor HitActor) 00015 { 00016 RotationRate.Pitch = 0; 00017 RotationRate.Yaw = 0; 00018 RotationRate.Roll = 0; 00019 SetTimer(10, false); 00020 } 00021 00022 function Timer() 00023 { 00024 Destroy(); 00025 } 00026 } 00027 00028 defaultproperties 00029 { 00030 ImpactSound=Sound'MurmurSnd.Rocks.rock01' 00031 DestroyedSound=Sound'MurmurSnd.Rocks.rock08' 00032 AmbientGlow=50 00033 LODCurve=LOD_CURVE_NONE 00034 CollisionRadius=5.000000 00035 CollisionHeight=5.000000 00036 Mass=10.000000 00037 Skeletal=SkelModel'objects.Rocks' 00038 }