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

JBAddonJailCard.JBDecoJailCardBasket


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
// ============================================================================
// JBDecoJailCardBasket
// Copyright 2007 by Valentijn Geirnaert <gsfjohndoe@hotmail.com>
// $Id: JBDecoJailCardBasket.uc,v 1.4 2007-05-19 15:06:55 johndoe Exp $
//
// Holder for emitter resembling a basket for the JailCard pickup.
// Placeholder class - the final effect should be different I think
//
// CHANGELOG:
// 17 jan 2007 - class created
// 20 jan 2007 - Fixed bug where the first emitter spawned would be blue
//               instead of myColor
// ============================================================================


class JBDecoJailCardBasket extends JBDecoSwitchBasket
  notplaceable;

//=============================================================================
// Properties
//=============================================================================

var() Color myColor;


// ============================================================================
// PostBeginPlay
//
// Spawns an Emitter actor which holds the configured ParticleEmitter.
// ============================================================================

simulated event PostBeginPlay()
{
    Class'JBEmitterBasket'.default.ColorBlue = myColor;
    Emitter = Spawn(Class'JBEmitterBasket', Self, , Location + PrePivot, Rotation);
    Emitter.SetDefendingTeam(1);
    Class'JBEmitterBasket'.default.ColorBlue = Class'JBEmitterBasket'.default.ColorBlue;
}

defaultproperties
{
    myColor  = (R=255,G=255,B=0,A=128);
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: So 16.3.2008 13:48:06.000 - Creation time: Do 14.8.2014 09:58:41.966 - Created with UnCodeX