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 00033 00034 00035 00036 |
// RainRestrictionVolume, prevent XWeatherEmitter from raining in a specific local area. // Set bDirectional to True to make the volume directional. // You can eighter matchup this actor with weather emitter by Tag, or leave empty for all weather emitters. Class XRainRestrictionVolume extends Actor Native; #EXEC TEXTURE IMPORT FILE="Textures\rainvolume.pcx" NAME="S_RainVolume" GROUP="Icons" MIPS=off FLAGS=2 TEXFLAGS=0 var() vector BoundsMin,BoundsMax; simulated function BeginPlay() { local Actor A; if ( (bNoDelete || bStatic) && RemoteRole==ROLE_None ) { Role = ROLE_Authority; // Important! if( Level.NetMode==NM_Client && AttachTag!='' ) // Client attach actor. foreach AllActors(Class'Actor',A,AttachTag) { SetBase(A); break; } } } defaultproperties { BoundsMin=(X=-128.000000,Y=-128.000000,Z=-128.000000) BoundsMax=(X=128.000000,Y=128.000000,Z=128.000000) bHidden=True bNoDelete=True RemoteRole=ROLE_None Texture=Texture'Emitter.Icons.S_RainVolume' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |