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

Engine.LadderTrigger


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
//=============================================================================
// LadderTrigger.
// Used to specify climbable point.
//=============================================================================
class LadderTrigger extends Triggers;

var() Sound ClimbingNoise;
var() float MaxGrabVelocity; // Maximum fall velocity to be able to grab this ladder.
var() bool bUnarmedClimbing; // Don't allow hold weapon while climbing this ladder.

function Touch( Actor Other )
{
	if( Other.bIsPawn )
		Pawn(Other).StartClimbing(Self);
}
function UnTouch( Actor Other )
{
	if( Other.bIsPawn )
		Pawn(Other).EndClimbing(Self);
}

defaultproperties
{
				MaxGrabVelocity=300.000000
				bUnarmedClimbing=True
				RemoteRole=ROLE_None
				bDirectional=True
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: zo 11-11-2012 21:10:26.000 - Creation time: zo 11-11-2012 21:14:19.053 - Created with UnCodeX