The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:UTHeroPRI (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
Package: 
UTGame
Direct subclass:
UTGreedPRI

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

Properties

bCanBeHero

Type: bool

true if associated player can become hero

bIsHero

Type: bool


bIsSuperHero

Type: bool


HeroMeter

Type: float


HeroWeaponKills

Type: int

Array size: 2

Tracks number of kills for each hero weapon during a single hero transformation

Functions

Events

Reset

event Reset ()

Overrides: UTPlayerReplicationInfo.Reset


Other instance functions

CanBeHero

simulated function bool CanBeHero ()

Overrides: UTPlayerReplicationInfo.CanBeHero


CheckHeroMeter

function CheckHeroMeter ()

Overrides: UTPlayerReplicationInfo.CheckHeroMeter


GetHeroMeter

simulated function float GetHeroMeter ()

Overrides: UTPlayerReplicationInfo.GetHeroMeter


IncrementHeroMeter

function IncrementHeroMeter (float AddedValue, optional class<UTDamageTypeDamageType)

Overrides: UTPlayerReplicationInfo.IncrementHeroMeter


IncrementKillStat

function int IncrementKillStat (name NewStatName)

Overrides: UTPlayerReplicationInfo.IncrementKillStat


IsHero

simulated function bool IsHero ()

Overrides: UTPlayerReplicationInfo.IsHero


IsSuperHero

simulated function bool IsSuperHero ()


ResetHero

simulated function ResetHero ()

Overrides: UTPlayerReplicationInfo.ResetHero


SetHeroAllowed

reliable client function SetHeroAllowed (bool bAllowed)


TriggerHero

function bool TriggerHero ()

Overrides: UTPlayerReplicationInfo.TriggerHero