Core.Object | +--Engine.Actor | +--Engine.Decoration | +--RuneI.DecorationRune | +--RuneI.Limb
EMatterType
MatterForJoint(int joint)
//============================================================ // // MatterForJoint // // Returns what kind of material joint is associated with //============================================================
void
Destroyed()
BeginState()
00001 //============================================================================= 00002 // Limb. 00003 //============================================================================= 00004 class Limb expands DecorationRune; 00005 00006 00007 //============================================================ 00008 // 00009 // MatterForJoint 00010 // 00011 // Returns what kind of material joint is associated with 00012 //============================================================ 00013 function EMatterType MatterForJoint(int joint) 00014 { 00015 return MATTER_FLESH; 00016 } 00017 00018 state WaitingToRemove 00019 { 00020 function BeginState() 00021 { 00022 LifeSpan=RandRange(15,20); 00023 } 00024 00025 function Destroyed() 00026 { 00027 if (LifeSpan < 1) 00028 bDestroyable=false; 00029 Super.Destroyed(); 00030 } 00031 } 00032 00033 defaultproperties 00034 { 00035 bBurnable=True 00036 bStatic=False 00037 DrawType=DT_SkeletalMesh 00038 Mass=10.000000 00039 }