Core.Object | +--Engine.Actor | +--Engine.Keypoint | +--Engine.WayBeacon
void
PostBeginPlay()
//temporary beacon for serverfind navigation
touch(Actor other)
00001 //============================================================================= 00002 // WayBeacon. 00003 //============================================================================= 00004 class WayBeacon extends Keypoint; 00005 00006 //temporary beacon for serverfind navigation 00007 00008 function PostBeginPlay() 00009 { 00010 local class<actor> NewClass; 00011 00012 Super.PostBeginPlay(); 00013 NewClass = class<actor>( DynamicLoadObject( "Unreali.Lamp4", class'Class' ) ); 00014 if( NewClass!=None ) 00015 Mesh = NewClass.Default.Mesh; 00016 } 00017 00018 function touch(actor other) 00019 { 00020 if (other == owner) 00021 { 00022 if ( Owner.IsA('PlayerPawn') ) 00023 PlayerPawn(owner).ShowPath(); 00024 Destroy(); 00025 } 00026 } 00027 00028 defaultproperties 00029 { 00030 bStatic=False 00031 bHidden=False 00032 bOnlyOwnerSee=True 00033 RemoteRole=ROLE_None 00034 LifeSpan=6.000000 00035 DrawType=DT_Mesh 00036 DrawScale=0.500000 00037 AmbientGlow=40 00038 bCollideActors=True 00039 LightType=LT_Steady 00040 LightBrightness=125 00041 LightSaturation=125 00042 }