I'm a doctor, not a mechanic

User:Jrubzjeknf/TeamSpecificActors/TeamSpecificColorChanger

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

TeamSpecificColorChanger

UT2004 Object >> Actor >> TeamSpecificColorChanger (custom)
Package: 
TeamSpecifcActors_v2


Changes the color of Emitters/ColorModifiers on every reset.

Full documentation on TeamSpecificActors_v2.u can be downloaded from: http://unrealized-potential.com/forum/index.php?act=Attach&type=post&id=5135

Properties

Property group 'TeamSpecificColorChanger'

ColorModifiers

Type: array<ColorModifier>

array of ColorModifiers which's color should change

Default value, index 0: ColorModifier'UltimateMappingTools_Tex.LaserRed'

Default value, index 1: ColorModifier'UltimateMappingTools_Tex.LaserBlue'

Emitters

Type: array<Emitter>

array of Emitters which's color should change

FindYourEmitter

Type: Emitter

Modifiers: edfindable

dummy variable. Mappers can use it to find an Emitter

Internal variables

bChangeOnNextReset

Type: bool

hack for Assault resetting the first round

bIsASorONS

Type: bool


bIsASPractiseRound

Type: bool

do nothing when the next reset is actually the start of the match

Default value: True

ReplicatedColorChangers

Type: array<TeamSpecificColorChangerReplicationInfo>

array holding all replication infos (needed to change colors clientsidely)

Default values

Property Value
bAlwaysRelevant True
bHidden True
bNoDelete True
Texture Texture'UltimateMappingTools_Tex.Icons.TS_ColorChanger'

Functions

Events

PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions

Reset

function Reset ()

Overrides: Actor.Reset



TeamSpecificColorChangerReplicationInfo

UT2004 Object >> Actor >> Info >> ReplicationInfo >> TeamSpecificColorChangerReplicationInfo (custom)
Package: 
TeamSpecificActors_v2


Contains the ColorModifier or Emitter that needs a color modification.

Full documentation on TeamSpecificActors_v2.u can be downloaded from: http://unrealized-potential.com/forum/index.php?act=Attach&type=post&id=5135

Properties

ClientTriggerCount

Type: int


ObjectName

Type: string

looks like <Mapname>.<Object><index>, ie. ONS-TeamSpecificActors_v2.Emitter3

ObjectType

Type: string

ColorModifier or Emitter

TriggerCount

Type: int


Default values

Property Value
bNetNotify True

Functions

Events

PostNetReceive

simulated event PostNetReceive ()

Overrides: Actor.PostNetReceive


Other instance functions

ModifyObject

function ModifyObject ()


SetObjectToModify

function SetObjectToModify (string newObject, string newType)