Core.Object | +--Engine.Actor | +--Engine.Pawn | +--Engine.PlayerPawn | +--Engine.Spectator | +--UnrealShare.UnrealSpectator
void
Fire(optional float)
PostBeginPlay()
00001 //============================================================================= 00002 // UnrealSpectator. 00003 //============================================================================= 00004 class UnrealSpectator extends Spectator; 00005 00006 function PostBeginPlay() 00007 { 00008 Super.PostBeginPlay(); 00009 if ( (Level.Game != None) && Level.Game.IsA('Intro') ) 00010 HUDType = Level.Game.HUDType; 00011 } 00012 00013 exec function Fire( optional float F ) 00014 { 00015 if ( (Role == ROLE_Authority) && (Level.Game == None || !Level.Game.IsA('Intro')) ) 00016 Super.Fire( F ); 00017 } 00018 00019 defaultproperties 00020 { 00021 HUDType=Class'UnrealShare.spectatorhud' 00022 CollisionRadius=17.000000 00023 }