Core.Object | +--Engine.Actor | +--Engine.Info | +--Engine.ZoneInfo | +--UnrealShare.TeleporterZone
name
TeleporterTag
Teleporter
myTeleporter
void
PostBeginPlay()
00001 /* 00002 TeleporterZone 00003 00004 anything entering this zone automatically touches the associated teleporter 00005 */ 00006 00007 class TeleporterZone extends ZoneInfo; 00008 00009 var() name TeleporterTag; 00010 var Teleporter myTeleporter; 00011 00012 function PostBeginPlay() 00013 { 00014 Super.PostBeginPlay(); 00015 if ( TeleporterTag != '' ) 00016 ForEach AllActors(class'Teleporter', myTeleporter, TeleporterTag) 00017 break; 00018 } 00019 00020 event ActorEntered( actor Other ) 00021 { 00022 if ( myTeleporter != None ) 00023 myTeleporter.Touch(Other); 00024 } 00025 00026 defaultproperties 00027 { 00028 }