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

Engine.WayBeacon


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
//=============================================================================
// WayBeacon.
//=============================================================================
class WayBeacon extends Keypoint;

//temporary beacon for serverfind navigation

function PostBeginPlay()
{
    local class<actor> NewClass;

    Super.PostBeginPlay();
    NewClass = class<actor>( DynamicLoadObject( "Unreali.Lamp4", class'Class' ) );
    if( NewClass!=None )
        Mesh = NewClass.Default.Mesh;
}

function touch(actor other)
{
    if (other == owner)
    {
        if ( Owner.IsA('PlayerPawn') )
            PlayerPawn(owner).ShowPath();
        Destroy();
    }
}

defaultproperties
{
     bStatic=False
     bHidden=False
     RemoteRole=ROLE_None
     LifeSpan=6.000000
     DrawType=DT_Mesh
     DrawScale=0.500000
     AmbientGlow=40
     bOnlyOwnerSee=True
     bCollideActors=True
     LightType=LT_Steady
     LightBrightness=125
     LightSaturation=125
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: za 22-4-2006 12:48:02.000 - Creation time: za 22-4-2006 12:49:40.656 - Created with UnCodeX