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

UnrealI.Intro


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
00044
00045
00046
//=============================================================================
// Intro.
//=============================================================================
class Intro expands UnrealGameInfo;

var PlayerPawn NewPlayer;

event playerpawn Login
(
    string[32] Portal,
    string[120] Options,
    out string[80] Error,
    class<playerpawn> SpawnClass
)
{
    
    NewPlayer = Super.Login(Portal, Options, Error, SpawnClass);    
    SetTimer(0.05,False);
    return NewPlayer;
}

Function Timer()
{
    local Actor A;
    local InterpolationPoint i; 
    
    if ( NewPlayer != None )
    {   
        foreach AllActors( class 'InterpolationPoint', i, 'Path' )
        {
            if( i.Position == 0 )
            {           

                NewPlayer.SetCollision(false,false,false);
                NewPlayer.Target = i;
                NewPlayer.SetPhysics(PHYS_Interpolating);
                NewPlayer.PhysRate = 1.0;
                NewPlayer.PhysAlpha = 0.0;
                NewPlayer.bInterpolating = true;
//				NewPlayer.GotoState('');				
            }
        }
    }


}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: za 22-4-2006 12:52:32.000 - Creation time: za 22-4-2006 12:53:45.609 - Created with UnCodeX