Cogito, ergo sum

User:Jrubzjeknf/TeamSpecificActors/TeamSpecificTeleporter

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> NavigationPoint >> SmallNavigationPoint >> Teleporter >> TeamSpecificTeleporter (custom)
Package: 
TeamSpecificTeleporter_v2


Players are treated differently based on what team they're on. While one player can use the teleporter as usual, the other is denied from doing that. Being denied can be combined with getting a message (custom colors supported) and/or a sound.

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 'TeamSpecificTeleporter'

bAssignToClosestObjective

Type: bool


BelongsToTeam

Type: int

To what team this Teleporter belongs

bSwitchColorOnReset

Type: bool

If the color should change on reset

Default value: True

DeniedMessage

Type: string

Dynamic Message sent to players of the wrong team

DeniedMessageColor

Type: Object.Color

Color of the message for players of the wrong team

Default value:

Member Value
A 255

DeniedMessageLifetime

Type: int

How long the message should be on the player's screen

Default value: 1

DeniedSound

Type: Sound

Sound for players of the wrong team

Internal variables

bChangeOnNextReset

Type: bool

hack for Assault resetting the first round

bIsASorONS

Type: bool

if true, change teams

bIsASPractiseRound

Type: bool

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

Default value: True

ClosestObjective

Type: GameObjective

used to assign teamnum by objective

CurrentMessage

Type: string

Real Message

ReplicationCounter

Type: int


Default values

Property Value
bAlwaysRelevant True
RemoteRole ROLE_DumbProxy
Texture Texture'UltimateMappingTools_Tex.Icons.TS_Teleport'

Functions

Events

PostBeginPlay

event PostBeginPlay ()

Overrides: Teleporter.PostBeginPlay


SpecialCost

event int SpecialCost (Pawn Other, ReachSpec Path)

Overrides: Teleporter.SpecialCost


Touch

event Touch (Actor Other)

Overrides: Teleporter.Touch


Other instance functions

GetClosestObjective

function GameObjective GetClosestObjective ()


Reset

function Reset ()

Overrides: Actor.Reset