Legacy:MultiSkyboxZoneInfo - Unreal Wiki

# Legacy:MultiSkyboxZoneInfo

### From Unreal Wiki, The Unreal Engine Documentation Site

## UT2003 Version

1. //=============================================================================
2. // MultiSkyboxZoneInfo.
3. // Input the tag of the skybox you want the fake backdrop surfaces of the zone to display
4. //
5. // (c) Zxanphorian 2002
6. // tornado.f5@worldnet.att.net
7. //=============================================================================
8. class MultiSkyboxZoneInfo extends ZoneInfo
9. placeable;
13. var() name SkyZoneTag;
17. simulated function LinkToSkybox()
18. {
19. local SkyZoneInfo Skybox;
21. Super.LinkToSkybox();
22. foreach AllActors( class 'SkyZoneInfo', Skybox, SkyZoneTag )
23. {
24. SkyZone = Skybox;
25. }
28. }

## UT Version

1. class SelectiveSkyZoneInfo expands ZoneInfo;
3. var() name SelectedSky;
5. simulated function LinkToSkybox()
6. {
7. local skyzoneinfo TempSkyZone;
9. if(SelectedSky != 'None')
10. {
11. foreach AllActors(class'SkyZoneInfo', TempSkyZone, SelectedSky)
12. {
13. SkyZone = TempSkyZone;
14. return;
15. }
16. }
18. foreach AllActors( class 'SkyZoneInfo', TempSkyZone, '' )
19. SkyZone = TempSkyZone;
21. foreach AllActors( class 'SkyZoneInfo', TempSkyZone, '' )
22. if( TempSkyZone.bHighDetail == Level.bHighDetailMode )
23. SkyZone = TempSkyZone;
24. }

## UT version (alternate version?)

    class MultiSkyZoneInfo expands ZoneInfo;

    simulated function LinkToSkybox()
    {
            local skyzoneinfo Sky;

            Super.LinkToSkybox();

            foreach AllActors( class 'SkyZoneInfo', Sky, Event )
            {
                    SkyZone = Sky;
            }
    }

##### Views

- Legacy
- Discussion
- Current revision

##### Search