I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE3:UTTimedPowerup (UDK)
Object >> Actor >> Inventory >> UTInventory >> UTTimedPowerup |
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. |
Properties[edit]
HudIndex[edit]
Type: int
Used to determine which symbol represents this object on the paperdoll
IconCoords[edit]
Type: UIRoot.TextureCoordinates
Coords of the icon for this powerup
PowerupOverSound[edit]
Type: SoundCue
Sound played when powerup's time is up
PowerupStatName[edit]
Type: name
Name used for the stats system
PP_Scene_Desaturation[edit]
Type: float
PP_Scene_HighLights[edit]
Type: Object.Vector
post processing applied while holding this powerup
TimeRemaining[edit]
Type: float
the amount of time remaining before the powerup expires
Note: only counts down while the item is owned by someone (not when on a dropped pickup)
Default value: 30.0
TransitionDuration[edit]
Type: float
Default value: 0.5
TransitionTime[edit]
Type: float
WarningTime[edit]
Type: float
Beging flashing when there is < this amount of time
Default value: 3.0
Default values[edit]
Property | Value |
---|---|
bDelayedSpawn | True |
bDropOnDeath | True |
bPredictRespawns | True |
MaxDesireability | 2.0 |
RespawnTime | 90.0 |
Subobjects[edit]
Sprite[edit]
Class: Engine.SpriteComponent
Inherits from: UTInventory.Sprite
Property | Value |
---|---|
ReplacementPrimitive | None |
Functions[edit]
Static functions[edit]
BotDesireability[edit]
Overrides: Inventory.BotDesireability
DetourWeight[edit]
Overrides: Inventory.DetourWeight
Events[edit]
Tick[edit]
Overrides: Actor.Tick
Other instance functions[edit]
AdjustPPEffects[edit]
applies and removes any post processing effects while holding this item
ClientGivenTo[edit]
Overrides: Inventory.ClientGivenTo
(Description copied from Inventory.ClientGivenTo)
This Inventory Item has just been given to this Pawn (owning client only)
Parameters:
- thisPawn - new Inventory owner
- bDoNotActivate - If true, this item will not try to activate
ClientLostItem[edit]
Overrides: UTInventory.ClientLostItem
called on the owning client just before the pickup is dropped or destroyed
ClientSetTimeRemaining[edit]
called by the server on the client to tell it how much time the UDamage has for the HUD timer
DenyPickupQuery[edit]
Overrides: Inventory.DenyPickupQuery
(Description copied from Inventory.DenyPickupQuery)
DenyPickupQuery Function which lets existing items in a pawn's inventory prevent the pawn from picking something up.
Parameters:
- ItemClass - Class of Inventory our Owner is trying to pick up
- Pickup - the Actor containing that item (this may be a PickupFactory or it may be a DroppedPickup)
Returns:
- true to abort pickup or if item handles pickup
DisplayPowerup[edit]
GetPowerupStatName[edit]
Stats
GivenTo[edit]
Overrides: Inventory.GivenTo
(Description copied from Inventory.GivenTo)
This Inventory Item has just been given to this Pawn (server only)
Parameters:
- thisPawn - new Inventory owner
- bDoNotActivate - If true, this item will not try to activate
TimeExpired[edit]
called when TimeRemaining reaches zero