Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
UE2:Inventory (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- Engine
- Direct subclasses:
- Ammunition, KeyInventory, Powerups, Weapon
- This class in other games:
- RTNP, U1, U2, U2XMP, UDK, UE2Runtime, UT, UT2003, UT3
| 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. |
Inventory
Inventory is the parent class of all actors that can be carried by other actors. Inventory items are placed in the holding actor's inventory chain, a linked list of inventory actors. Each inventory class knows what pickup can spawn it (its PickupClass). When tossed out (using the DropFrom() function), inventory items replace themselves with an actor of their Pickup class.
[edit] Properties
[edit] Property group 'FirstPerson'
[edit] PlayerViewPivot
Type: Object.Rotator
additive rotation offset for tweaks
[edit] Property group 'Inventory'
[edit] bDrawingFirstPerson
Type: bool
[edit] BobDamping
Type: float
Default value: 0.96
[edit] Charge
Type: int
Modifiers: travel
[edit] IconCoords
Type: Object.IntBox
[edit] IconMaterial
Type: Material
[edit] ItemName
Type: string
Modifiers: localized, cache
[edit] Internal variables
[edit] AttachmentClass
Type: class<InventoryAttachment>
Modifiers: cache
Default value: Class'Engine.InventoryAttachment'
[edit] bDisplayableInv
Type: bool
Item displayed in HUD.
[edit] bTossedOut
Type: bool
true if weapon/inventory was tossed out (so players can't cheat w/ weaponstay)
[edit] GroupOffset
Type: byte
position within inventory group. (used by prevweapon and nextweapon)
[edit] InventoryGroup
Type: byte
The weapon/inventory set, 0-9.
[edit] PickupClass
Modifiers: cache
what class of pickup is associated with this inventory item
[edit] PlayerViewOffset
Type: Object.Vector
Offset from view center.
[edit] ThirdPersonActor
Type: Actor
[edit] Default values
| Property | Value |
|---|---|
| bClientAnim | True |
| bHidden | True |
| bOnlyDirtyReplication | True |
| bOnlyOwnerSee | True |
| bOnlyRelevantToOwner | True |
| bReplicateMovement | False |
| bTravel | True |
| DrawType | DT_None |
| NetPriority | 1.4 |
| RemoteRole | ROLE_SimulatedProxy |
[edit] Functions
[edit] Static functions
[edit] StaticItemName
[edit] Exec functions
[edit] updaterelative
[edit] Events
[edit] Destroyed
Overrides: Actor.Destroyed
[edit] RenderOverlays
Overrides: Actor.RenderOverlays
[edit] TravelPostAccept
Overrides: Actor.TravelPostAccept
[edit] TravelPreAccept
Overrides: Actor.TravelPreAccept
[edit] Other instance functions
[edit] AttachToPawn
[edit] DetachFromPawn
[edit] DropFrom
[edit] GetHumanReadableName
Overrides: Actor.GetHumanReadableName
