Core.Object | +--Engine.Actor | +--Engine.InventoryAttachment | +--XIIIMP.DuckAttachment
string
MeshName
00001 //----------------------------------------------------------- 00002 // 00003 //----------------------------------------------------------- 00004 class DuckAttachment extends InventoryAttachment; 00005 00006 var string MeshName; 00007 00008 //_____________________________________________________________________________ 00009 00010 simulated event PostBeginPlay() 00011 { 00012 Super(Actor).PostBeginPlay(); 00013 if ( (Mesh == none) && (MeshName != "") ) 00014 { 00015 mesh = Mesh(dynamicloadobject(MeshName, class'Mesh')); // ParseDynLoad made 00016 } 00017 } 00018 00019 //_____________________________________________________________________________ 00020 00021 simulated event PostNetBeginPlay() 00022 { 00023 Super(Actor).PostNetBeginPlay(); 00024 if ( (Mesh == none) && (MeshName != "") ) 00025 { 00026 mesh = Mesh(dynamicloadobject(MeshName, class'Mesh')); // ParseDynLoad made 00027 } 00028 } 00029 00030 //_____________________________________________________________________________ 00031 00032 00033 00034 defaultproperties 00035 { 00036 MeshName="XIIIpersos.MouetSolM" 00037 }