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

DruidsRPGcvs.IceSmoke


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
class IceSmoke extends RocketExplosion
    config(ScoreFix);


simulated function PostBeginPlay()
{
    local PlayerController PC;

    PC = Level.GetLocalPlayerController();
    if
    (
        PC != None && 
        (
            PC.ViewTarget == None || 
            VSize(PC.ViewTarget.Location - Location) > 5000
        )
    )
    {
        LightType = LT_None;
        bDynamicLight = false;
    }
    else 
    {
        Spawn(class'RocketSmokeRing');
        if (Level.bDropDetail)
            LightRadius = 7;    
    }
    //dont call super. The Super classes's postbeginplay is messed up.
}
defaultproperties
{
     LightHue=209
     LightSaturation=33
     RemoteRole=ROLE_SimulatedProxy
     DrawScale=0.000100
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Thu 20/7/2006 16:37:22.000 - Creation time: Wed 7/2/2007 19:16:42.015 - Created with UnCodeX