I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE3:UTGreedPRI (UT3)

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

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Properties[edit]

BestCoinReturn[edit]

Type: int

Highest scoring coin return by this player during this game

FlagBaseEffects[edit]

Type: ParticleSystem

Array size: 2


Default value, index 0: ParticleSystem'FX_Gametypes.Effects.P_FX_Gametypes_Greed_Base_Red'

Default value, index 1: ParticleSystem'FX_Gametypes.Effects.P_FX_Gametypes_Greed_Base_Blue'

FlagBaseMaterialInterface[edit]

Type: MaterialInterface


Default value: Material'GP_Onslaught.Materials.M_GP_Ons_Conduit'

FlagBaseStaticMesh[edit]

Type: StaticMesh

Greed flag base parameters

Default value: StaticMesh'GP_Onslaught.Mesh.S_GP_Ons_Conduit'

NumCoins[edit]

Type: int

Number of coins currently being carried by this player

Functions[edit]

Events[edit]

PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: PlayerReplicationInfo.PostBeginPlay


Reset[edit]

event Reset ()

Overrides: UTHeroPRI.Reset


Other instance functions[edit]

AddCoins[edit]

function AddCoins (int Coins)

Overrides: UTPlayerReplicationInfo.AddCoins

Adds to this player's coin count

Also applies any bonuses for carrying a large number of coins

ClearCoins[edit]

function ClearCoins ()


GetNumCoins[edit]

simulated function int GetNumCoins ()

Overrides: UTPlayerReplicationInfo.GetNumCoins


SetupGreedBases[edit]

reliable client function SetupGreedBases ()

Swaps in the appropriate Greed base mesh and effects for this client

TriggerHero[edit]

function bool TriggerHero ()

Overrides: UTHeroPRI.TriggerHero

Drops all held coins when becoming a hero