Gah - a solution with more questions. – EntropicLqd

UE2:Weapon instance functions (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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[edit]

AdjustPlayerDamage[edit]

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


AltFire[edit]

simulated function AltFire (float F)


AmmoStatus[edit]

simulated function float AmmoStatus ()


BestMode[edit]

function byte BestMode ()


BotFire[edit]

function bool BotFire (bool bFinished, optional name FiringMode)


BringUp[edit]

simulated function BringUp (optional Weapon PrevWeapon)


CanAttack[edit]

function bool CanAttack (Actor Other)


CanThrow[edit]

simulated function bool CanThrow ()


CenteredEffectStart[edit]

simulated function Object.Vector CenteredEffectStart ()


ChargeBar[edit]

simulated function float ChargeBar ()


CheckReflect[edit]

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


ClientPlayForceFeedback[edit]

simulated function ClientPlayForceFeedback (string EffectName)


ClientWeaponSet[edit]

simulated function ClientWeaponSet (bool bPossiblySwitch)


ClientWeaponThrown[edit]

simulated function ClientWeaponThrown ()


ClientWriteFire[edit]

simulated function ClientWriteFire (string Result)


ClientWriteStats[edit]

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


ConsumeAmmo[edit]

function ConsumeAmmo (int Mode, float load)


DetachFromPawn[edit]

simulated function DetachFromPawn (Pawn P)

Overrides: Inventory.DetachFromPawn


DisplayDebug[edit]

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

Overrides: Actor.DisplayDebug


DoAutoSwitch[edit]

simulated function DoAutoSwitch ()


DoReflectEffect[edit]

function DoReflectEffect (int Drain)


DrawWeaponInfo[edit]

simulated function DrawWeaponInfo (Canvas C)


DropFrom[edit]

function DropFrom (Object.Vector StartLocation)

Overrides: Inventory.DropFrom


Fire[edit]

simulated function Fire (float F)


FireHack[edit]

function FireHack (byte Mode)


FocusOnLeader[edit]

function bool FocusOnLeader (bool bLeaderFiring)


GetAIRating[edit]

function float GetAIRating ()


GetAmmoCount[edit]

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


GetDamageRadius[edit]

function float GetDamageRadius ()


GetEffectStart[edit]

simulated function Object.Vector GetEffectStart ()


GetFireStart[edit]

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


GetViewAxes[edit]

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


GiveAmmo[edit]

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


GiveTo[edit]

function GiveTo (Pawn Other, optional Pickup Pickup)

Overrides: Inventory.GiveTo


HandlePickupQuery[edit]

function bool HandlePickupQuery (Pickup Item)

Overrides: Inventory.HandlePickupQuery


HasAmmo[edit]

simulated function bool HasAmmo ()


HolderDied[edit]

function HolderDied ()


IncrementFlashCount[edit]

simulated function IncrementFlashCount (int Mode)


IsFiring[edit]

simulated function bool IsFiring ()


IsRapidFire[edit]

function bool IsRapidFire ()


NextWeapon[edit]

simulated function Weapon NextWeapon (Weapon CurrentChoice, Weapon CurrentWeapon)

Overrides: Inventory.NextWeapon


OutOfAmmo[edit]

simulated function OutOfAmmo ()


PlayIdle[edit]

simulated function PlayIdle ()


PrevWeapon[edit]

simulated function Weapon PrevWeapon (Weapon CurrentChoice, Weapon CurrentWeapon)

Overrides: Inventory.PrevWeapon


PutDown[edit]

simulated function bool PutDown ()


RangedAttackTime[edit]

function float RangedAttackTime ()


RateSelf[edit]

simulated function float RateSelf ()


ReadyToFire[edit]

simulated function bool ReadyToFire (int Mode)


RecommendLongRangedAttack[edit]

function bool RecommendLongRangedAttack ()


RecommendRangedAttack[edit]

function bool RecommendRangedAttack ()


RecommendSplashDamage[edit]

function bool RecommendSplashDamage ()


RecommendWeapon[edit]

simulated function Weapon RecommendWeapon (out float rating)

Overrides: Inventory.RecommendWeapon


RefireRate[edit]

function float RefireRate ()


Reselect[edit]

simulated function Reselect ()


ServerStopFire[edit]

function ServerStopFire (byte Mode)


SetAITarget[edit]

function SetAITarget (Actor T)


SetHand[edit]

simulated function SetHand (float InHand)


ShootHoop[edit]

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


SplashDamage[edit]

function bool SplashDamage ()


SplashJump[edit]

function bool SplashJump ()


StartBerserk[edit]

simulated function StartBerserk ()


StartFire[edit]

simulated function bool StartFire (int Mode)


StopBerserk[edit]

simulated function StopBerserk ()


StopForceFeedback[edit]

simulated function StopForceFeedback (string EffectName)


SuggestAttackStyle[edit]

function float SuggestAttackStyle ()


SuggestDefenseStyle[edit]

function float SuggestDefenseStyle ()


SynchronizeWeapon[edit]

function SynchronizeWeapon (Weapon ClientWeapon)


WeaponCentered[edit]

simulated function bool WeaponCentered ()


WeaponChange[edit]

simulated function Weapon WeaponChange (byte F, bool bSilent)

Overrides: Inventory.WeaponChange


ZeroFlashCount[edit]

simulated function ZeroFlashCount (int Mode)