Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
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 |
class uTeamBanner extends Decoration; var GameReplicationInfo GRI; var int Team; simulated function UpdateForTeam() { if ( (GRI != None) && (Team < 2) && (GRI.TeamSymbols[Team] != None) ) TexScaler(Combiner(Shader(FinalBlend(Skins[0]).Material).Diffuse).Material2).Material = GRI.TeamSymbols[Team]; } simulated function SetGRI(GameReplicationInfo NewGRI) { GRI = NewGRI; UpdateForTeam(); } simulated function PostNetBeginPlay() { Super.PostNetBeginPlay(); if ( Level.Game != None ) SetGRI(Level.Game.GameReplicationInfo); } defaultproperties { bStatic=Falsch bNoDelete=Wahr RemoteRole=ROLE_None Mesh=VertMesh'XGame_rc.banner' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |