UE2:Weapon instance functions (U2)
From Unreal Wiki, The Unreal Engine Documentation Site
- Weapon instance functions in other games:
- Other member categories for this class:
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Instance functions
AddAmmo
AdjustAim
function bool AdjustAim (bool bAltFire, bool bInstant, float FireSpread, class<Projectile> ProjClass, bool bWarnTarget, bool bTrySplash)
AdjustProjectileAim
function bool AdjustProjectileAim (bool bAltFire, class<Projectile> ProjectileClass, Object.Vector projStart, float FireSpread, bool bLeadTarget, bool bWarnTarget, bool bTossed, bool bTrySplash)
AdjustTraceAim
function bool AdjustTraceAim (float projSpeed, Object.Vector projStart, float FireSpread, bool bLeadTarget, bool bWarnTarget, bool bTossed, bool bTrySplash)
AllAmmo
function AllAmmo ()
AltFire
simulated function AltFire ()
Ammo_AddAmmo
Ammo_CanReload
simulated function bool Ammo_CanReload ()
Ammo_GetDamageRadius
function float Ammo_GetDamageRadius ()
Ammo_HasAmmo
simulated function bool Ammo_HasAmmo ()
Ammo_NotifyAmmoChanged
function Ammo_NotifyAmmoChanged ()
Ammo_ProcessTraceHit
Ammo_Reload
simulated function Ammo_Reload ()
Ammo_ReloadRequired
Ammo_Resupply
function Ammo_Resupply (float AddedPercent)
Ammo_SetAmmoAmount
simulated function Ammo_SetAmmoAmount (int NewAmmoAmount)
Ammo_SetClipRoundsRemaining
simulated function Ammo_SetClipRoundsRemaining (int NewClipRoundsRemaining)
Ammo_SetMaxAmmo
function Ammo_SetMaxAmmo (int NewMaxAmmo)
Ammo_ShakeView
simulated function Ammo_ShakeView ()
Ammo_SpawnProjectile
Ammo_UseAmmo
AmmoStatus
simulated function float AmmoStatus ()
AuthorityFire
function AuthorityFire ()
BringUp
simulated function BringUp (optional Weapon PrevWeapon)
ClientWeaponSet
simulated function ClientWeaponSet (bool bOptionalSet)
EverywhereFire
simulated function EverywhereFire ()
ExecuteFire
simulated function ExecuteFire (optional bool bAltFire)
Fire
simulated function Fire ()
FocusOnLeader
GetAIRating
function float GetAIRating ()
GetAmmoAmount
simulated function int GetAmmoAmount ()
GetClipAmount
simulated function int GetClipAmount ()
GetClipSize
simulated function int GetClipSize ()
GetFireStart
GetMaxAmmo
simulated function int GetMaxAmmo ()
GetProjSpeed
GetRating
function float GetRating ()
GetSpecialSwitchPriority
GetTargetName
interface function string GetTargetName ()
GiveAmmo
function GiveAmmo (Pawn Other)
GiveTo
function GiveTo (Pawn Other)
Overrides: Inventory.GiveTo
GreaterThan
HandleTargetDetails
simulated function HandleTargetDetails (Actor A, Canvas Canvas, Object.Vector ViewLoc, Object.Rotator ViewRot)
HandleTraceImpact
HasAmmo
simulated function bool HasAmmo ()
HideCrosshair
simulated function HideCrosshair ()
IncrementFlashCount
simulated function IncrementFlashCount ()
IsFiring
function bool IsFiring ()
IsTargetable
LessThan
NextWeapon
Overrides: Inventory.NextWeapon
PawnAgentEvent
simulated function PawnAgentEvent (name InEventName)
PlayAnimEx
simulated function PlayAnimEx (name Sequence)
PlayFiring
simulated function PlayFiring ()
PlayIdleAnim
simulated function PlayIdleAnim ()
PlayReloading
simulated function PlayReloading ()
PlaySelect
simulated function PlaySelect ()
PlayWeaponSound
PostSetAimingParameters
function PostSetAimingParameters (bool bAltFire, bool bInstant, float FireSpread, class<Projectile> ProjClass, bool bWarnTarget, bool bTrySplash)
PreSetAimingParameters
function bool PreSetAimingParameters (bool bAltFire, bool bInstant, float FireSpread, class<Projectile> ProjClass, bool bWarnTarget, bool bTrySplash)
PrevWeapon
Overrides: Inventory.PrevWeapon
ProjectileFire
function Projectile ProjectileFire ()
PutDown
simulated function bool PutDown ()
RangedAttackTime
function float RangedAttackTime ()
RateSelf
simulated function float RateSelf ()
RecommendRangedAttack
function bool RecommendRangedAttack ()
RecommendWeapon
Overrides: Inventory.RecommendWeapon
Reload
simulated function Reload ()
ReloadRequired
simulated function bool ReloadRequired ()
Resupply
function Resupply (float AddedPercent)
Overrides: Inventory.Resupply
ResupplyStatus
simulated function float ResupplyStatus ()
SendEvent
simulated function SendEvent (string EventName)
ServerFire
function ServerFire (optional bool bAltFire)
ServerRapidFire
function ServerRapidFire (optional bool bAltFire)
ServerStopFiring
function ServerStopFiring ()
SetAmmoType
simulated function SetAmmoType (int i)
SetFireSkin
simulated function SetFireSkin ()
SetFireStartLocations
function SetFireStartLocations ()
SpecialSwitchAway
simulated function bool SpecialSwitchAway ()
SplashJump
simulated function bool SplashJump ()
StopFiring
simulated function StopFiring ()
SuggestAttackStyle
function float SuggestAttackStyle ()
SuggestDefenseStyle
function float SuggestDefenseStyle ()
SwitchAway
simulated function SwitchAway ()
SwitchPriority
simulated function float SwitchPriority ()
TraceFire
function TraceFire (float TraceSpread)
TweenDown
simulated function TweenDown ()
UnsetFireSkin
simulated function UnsetFireSkin ()
UpdateCrosshair
simulated function UpdateCrosshair (Canvas Canvas)
WeaponChange
Overrides: Inventory.WeaponChange