Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

XWeapons.TransbeaconTeleporter


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
class TransbeaconTeleporter extends Keypoint;

var() name JumpSpotTag;
var JumpSpot myJumpSpot;

function PostBeginPlay()
{
	super.PostBeginPlay();
	
	if ( JumpSpotTag != '' )
		ForEach AllActors(class'JumpSpot',myJumpSpot,JumpSpotTag)
			break;
}
	
event Touch(Actor Other)
{
	if ( (TransBeacon(Other) == None) || (myJumpSpot == None) )
		return;
		
	Other.SetLocation(myJumpSpot.Location);
	if ( TransBeacon(Other).Trail != None )
	    TransBeacon(Other).Trail.mRegen = false;
}
		
defaultproperties
{
	 bCollideActors=true
     bStatic=True
     bHidden=True
     SoundVolume=0
     CollisionRadius=+00030.000000
     CollisionHeight=+00030.000000
	 Texture=S_Keypoint
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Di 5.9.2006 22:36:30.000 - Creation time: Do 14.8.2014 09:58:52.395 - Created with UnCodeX