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

JBToolbox2.JBClientMoverDualDestination


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
00041
00042
00043
00044
00045
00046
00047
00048
00049
// ============================================================================
// JBClientMoverDualDestination
// Copyright 2007 by Wormbo <wormbo@online.de>
// $Id: JBClientMoverDualDestination.uc,v 1.1 2007-04-22 14:01:57 wormbo Exp $
//
// ClientMover version of the JBMoverDualDestination.
// ============================================================================


class JBClientMoverDualDestination extends JBMoverDualDestination;


// ============================================================================
// PostBeginPlay
//
// Sends the mover to an idle state on dedicated servers.
// ============================================================================

function PostBeginPlay()
{
  Super.PostBeginPlay();
  
  if (Level.NetMode == NM_DedicatedServer) {
    GotoState('ServerIdle');
    SetTimer(0, false);
    SetPhysics(PHYS_None);
  }
}


// ============================================================================
// state ServerIdle
//
// Dummy idle state for dedicated server.
// ============================================================================

state ServerIdle {}


// ============================================================================
// Default Values
// ============================================================================

defaultproperties
{
  bAlwaysRelevant       = false
  RemoteRole            = ROLE_None
  bClientAuthoritative  = true
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: So 22.4.2007 16:01:58.000 - Creation time: Do 14.8.2014 09:58:41.916 - Created with UnCodeX