# SpatialFear.SFSkyZoneInfo

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 |
    //=============================================================================
    // Spatial Fear
    // Class: SFSkyZoneInfo
    // Description: This class lets you use multiple sky boxes in a map.
    //              In each zone that will use a sky box put this actor and
    //              set its tag to the tag of a SkyZoneInfo you wanna use.
    //
    // Author: Jacek Zagrodzki
    // Modified: Markus Nuebel
    //=============================================================================
    class SFSkyZoneInfo expands SFZoneInfo;

    simulated function LinkToSkybox()
    {
    	local skyzoneinfo TempSkyZone;

    	// SkyZone.
    	foreach AllActors( class 'SkyZoneInfo', TempSkyZone, Tag)
    	{
    		SkyZone = TempSkyZone;
    		// No need to continue here
    		return;
    	}
    }

    defaultproperties
    {
    }

class file time: 12/7/2003 3:58:24 PM - creation time: 12/7/2003 4:03:45 PM
Created with UnCodeX