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

UTDom.xDomDynamicSMActor


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
/**
 * The base actor for the DoubleDom DomPoint's displayed A, B, and the Ring meshes
 * 
 * Writen by Brian 'Snake' Alexander. Copyright(c) 2007-2010 All Rights Reserved.
 */
class xDomDynamicSMActor extends DynamicSMActor_Spawnable
   abstract;

/**
 * 0=Red Team
 * 1=Blue Team
 * 2=Green Team
 * 3=Gold Team
 * 4=Neutral
 */
var() Material DomSkin[5];

/** 
 * changes the meshes skin to match the current state of the xDomPoint
 * 
 * @param TeamIndex  The TeamID to change to
 */
function SetDomMaterial(byte TeamIndex)
{
   if (TeamIndex > 4)
      TeamIndex = 4;

   StaticMeshComponent.SetMaterial(0, DomSkin[TeamIndex] );
   ReplicatedMaterial = DomSkin[TeamIndex];
   ForceNetRelevant();
}

DefaultProperties
{
   bCollideActors=false
   bBlockActors=false
   bCollideWorld=false
   bStatic=false
   bStasis=false
   DrawScale=0.3
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Wed 8/12/2010 21:20:00.000 - Creation time: Fri 23/12/2011 20:31:26.699 - Created with UnCodeX