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 00037 00038 00039 00040 |
//============================================================================= // ChildLightningBolt. //============================================================================= class ChildLightningBolt extends xEmitter; simulated function bool CheckMaxEffectDistance(PlayerController P, vector SpawnLocation) { return !P.BeyondViewDistance(SpawnLocation,5000); } simulated function PostBeginPlay() { Super.PostBeginPlay(); // pass in +vect(0,0,2) to EffectIsRelevant() because this actor just spawned too (not valid to check if its been rendered) if( EffectIsRelevant(Location+vect(0,0,2),false) ) Spawn(class'ChildBlueSparks',,,Location,Rotation); } defaultproperties { mParticleType=PT_Branch mRegen=Falsch mStartParticles=10 mMaxParticles=10 mLifeRange(0)=0.500000 mLifeRange(1)=0.500000 mPosDev=(X=15.000000,Y=15.000000,Z=15.000000) mSpawnVecB=(X=20.000000,Z=10.000000) mSizeRange(0)=15.000000 mSizeRange(1)=15.000000 blockOnNet=Wahr bReplicateMovement=Falsch bSkipActorPropertyReplication=Wahr RemoteRole=ROLE_DumbProxy LifeSpan=0.500000 Skins(0)=Texture'XEffects.Skins.LightningBoltT' Style=STY_Additive } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |