| Home Page | Recent Changes | Preferences

MultiSkyboxZoneInfo

UT2003 Version

00001  //=============================================================================
00002  // MultiSkyboxZoneInfo.
00003  // Input the tag of the skybox you want the fake backdrop surfaces of the zone to display
00004  //
00005  // (c) ZxAnPhOrIaN 2002
00006  // tornado.f5@worldnet.att.net
00007  //=============================================================================
00008  class MultiSkyboxZoneInfo extends ZoneInfo
00009      placeable;
00010  
00011  
00012  
00013  var() name SkyZoneTag;
00014  
00015  
00016  
00017  simulated function LinkToSkybox()
00018  {
00019      local SkyZoneInfo Skybox;
00020  
00021      Super.LinkToSkybox();
00022      foreach AllActors( class 'SkyZoneInfo', Skybox, SkyZoneTag )
00023      {
00024          SkyZone = Skybox;
00025      }
00026  
00027  
00028  }

UT Version

00001  class SelectiveSkyZoneInfo expands ZoneInfo;
00002  
00003  var() name SelectedSky;
00004  
00005  simulated function LinkToSkybox()
00006  {
00007      local skyzoneinfo TempSkyZone;
00008  
00009      if(SelectedSky != 'None')
00010      {
00011          foreach AllActors(class'SkyZoneInfo', TempSkyZone, SelectedSky)
00012          {
00013              SkyZone = TempSkyZone;
00014              return;
00015          }
00016      }
00017  
00018      foreach AllActors( class 'SkyZoneInfo', TempSkyZone, '' )
00019          SkyZone = TempSkyZone;
00020  
00021      foreach AllActors( class 'SkyZoneInfo', TempSkyZone, '' )
00022          if( TempSkyZone.bHighDetail == Level.bHighDetailMode )
00023              SkyZone = TempSkyZone;
00024  }

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In