My program doesn't have bugs. It just develops random features.

UE2:Weapon instance functions (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Inventory >> Weapon (instance functions)
Weapon instance functions in other games:
RTNP, U1, UT, U2, U2XMP, UE2Runtime, UT2004, UT3, UDK

Instance functions

AdjustPlayerDamage

function AdjustPlayerDamage (out int Damage, Pawn InstigatedBy, Object.Vector HitLocation, out Object.Vector Momentum, class<DamageTypeDamageType)


AltFire

simulated function AltFire (float F)


AmmoStatus

simulated function float AmmoStatus ()


BestMode

function byte BestMode ()


BotFire

function bool BotFire (bool bFinished, optional name FiringMode)


BringUp

simulated function BringUp (optional Weapon PrevWeapon)


CanAttack

function bool CanAttack (Actor Other)


CanThrow

simulated function bool CanThrow ()


CenteredEffectStart

simulated function Object.Vector CenteredEffectStart ()


ChargeBar

simulated function float ChargeBar ()


CheckReflect

function bool CheckReflect (Object.Vector HitLocation, out Object.Vector RefNormal, int AmmoDrain)


ClientPlayForceFeedback

simulated function ClientPlayForceFeedback (string EffectName)


ClientWeaponSet

simulated function ClientWeaponSet (bool bPossiblySwitch)


ClientWeaponThrown

simulated function ClientWeaponThrown ()


ClientWriteFire

simulated function ClientWriteFire (string Result)


ClientWriteStats

simulated function ClientWriteStats (byte Mode, bool bMatch, bool bAllowFire, bool bDelay, bool bAlt, float wait)


ConsumeAmmo

function ConsumeAmmo (int Mode, float load)


DetachFromPawn

simulated function DetachFromPawn (Pawn P)

Overrides: Inventory.DetachFromPawn


DisplayDebug

simulated function DisplayDebug (Canvas Canvas, out float YL, out float YPos)

Overrides: Actor.DisplayDebug


DoAutoSwitch

simulated function DoAutoSwitch ()


DoReflectEffect

function DoReflectEffect (int Drain)


DrawWeaponInfo

simulated function DrawWeaponInfo (Canvas C)


DropFrom

function DropFrom (Object.Vector StartLocation)

Overrides: Inventory.DropFrom


Fire

simulated function Fire (float F)


FireHack

function FireHack (byte Mode)


FocusOnLeader

function bool FocusOnLeader (bool bLeaderFiring)


GetAIRating

function float GetAIRating ()


GetAmmoCount

simulated function GetAmmoCount (out float MaxAmmoPrimary, out float CurAmmoPrimary)


GetDamageRadius

function float GetDamageRadius ()


GetEffectStart

simulated function Object.Vector GetEffectStart ()


GetFireStart

simulated function Object.Vector GetFireStart (Object.Vector X, Object.Vector Y, Object.Vector Z)


GetViewAxes

simulated function GetViewAxes (out Object.Vector xaxis, out Object.Vector yaxis, out Object.Vector zaxis)


GiveAmmo

function GiveAmmo (int m, WeaponPickup WP, bool bJustSpawned)


GiveTo

function GiveTo (Pawn Other, optional Pickup Pickup)

Overrides: Inventory.GiveTo


HandlePickupQuery

function bool HandlePickupQuery (Pickup Item)

Overrides: Inventory.HandlePickupQuery


HasAmmo

simulated function bool HasAmmo ()


HolderDied

function HolderDied ()


IncrementFlashCount

simulated function IncrementFlashCount (int Mode)


IsFiring

simulated function bool IsFiring ()


IsRapidFire

function bool IsRapidFire ()


NextWeapon

simulated function Weapon NextWeapon (Weapon CurrentChoice, Weapon CurrentWeapon)

Overrides: Inventory.NextWeapon


OutOfAmmo

simulated function OutOfAmmo ()


PlayIdle

simulated function PlayIdle ()


PrevWeapon

simulated function Weapon PrevWeapon (Weapon CurrentChoice, Weapon CurrentWeapon)

Overrides: Inventory.PrevWeapon


PutDown

simulated function bool PutDown ()


RangedAttackTime

function float RangedAttackTime ()


RateSelf

simulated function float RateSelf ()


ReadyToFire

simulated function bool ReadyToFire (int Mode)


RecommendLongRangedAttack

function bool RecommendLongRangedAttack ()


RecommendRangedAttack

function bool RecommendRangedAttack ()


RecommendSplashDamage

function bool RecommendSplashDamage ()


RecommendWeapon

simulated function Weapon RecommendWeapon (out float rating)

Overrides: Inventory.RecommendWeapon


RefireRate

function float RefireRate ()


Reselect

simulated function Reselect ()


ServerStopFire

function ServerStopFire (byte Mode)


SetAITarget

function SetAITarget (Actor T)


SetHand

simulated function SetHand (float InHand)


ShootHoop

function bool ShootHoop (Controller B, Object.Vector ShootLoc)


SplashDamage

function bool SplashDamage ()


SplashJump

function bool SplashJump ()


StartBerserk

simulated function StartBerserk ()


StartFire

simulated function bool StartFire (int Mode)


StopBerserk

simulated function StopBerserk ()


StopForceFeedback

simulated function StopForceFeedback (string EffectName)


SuggestAttackStyle

function float SuggestAttackStyle ()


SuggestDefenseStyle

function float SuggestDefenseStyle ()


SynchronizeWeapon

function SynchronizeWeapon (Weapon ClientWeapon)


WeaponCentered

simulated function bool WeaponCentered ()


WeaponChange

simulated function Weapon WeaponChange (byte F, bool bSilent)

Overrides: Inventory.WeaponChange


ZeroFlashCount

simulated function ZeroFlashCount (int Mode)