//============================================================================= // STAR GATE MOD, StarG.u // |Code And Textures by SoulReaver| // If you want to change/use/extract Code or Textures mail me! // -/ // marvin.janssen@home.nl // \- // So before you use any code or textures mail me, but it is free to use the // stargate mod in maps, realy use to use. read the ReadMe.txt how to make them // work and connect to others. // """" // all i want to say is; it cost me time and work and i REALY don't like if // someone uses MY code and textures and claim that he/she made it,,, // i get Sooo pissed of when someone does that, so i just say MAIL me and // im sure ill give you permission but i just want to know. TIA.,, //============================================================================= class LampTrigger expands Keypoint; var Pawn Caller; auto state putmylampson { simulated function Tick( float deltatime ) { GoToState('Lamps'); } } State Lamps { Begin: sleep(0.3); Light1A(); sleep(1.0); Light2A(); sleep(1.0); Light3A(); sleep(1.0); Light4A(); sleep(1.0); Light5A(); sleep(1.0); Light6A(); sleep(1.0); Light7A(); Destroy(); } function Light1A() { local Light1 L1; foreach RadiusActors(Class'Light1', L1, 200, Self.Location) { L1.Trigger( Caller, Caller.Instigator ); } } function Light2A() { local Light2 L2; foreach RadiusActors(Class'Light2', L2, 200, Self.Location) { L2.Trigger( Caller, Caller.Instigator ); } } function Light3A() { local Light3 L3; foreach RadiusActors(Class'Light3', L3, 200, Self.Location) { L3.Trigger( Caller, Caller.Instigator ); } } function Light4A() { local Light4 L4; foreach RadiusActors(Class'Light4', L4, 200, Self.Location) { L4.Trigger( Caller, Caller.Instigator ); } } function Light5A() { local Light5 L5; foreach RadiusActors(Class'Light5', L5, 200, Self.Location) { L5.Trigger( Caller, Caller.Instigator ); } } function Light6A() { local Light6 L6; foreach RadiusActors(Class'Light6', L6, 200, Self.Location) { L6.Trigger( Caller, Caller.Instigator ); } } function Light7A() { local Light7 L7; foreach RadiusActors(Class'Light7', L7, 200, Self.Location) { L7.Trigger( Caller, Caller.Instigator ); } } defaultproperties { bStatic=False DrawScale=2.000000 }