Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
UE2:Inventory (U2)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- Engine
- Direct subclasses:
- Artifact, PowerUp, Powerups, Weapon
- This class in other games:
- RTNP, U1, U2XMP, UDK, UE2Runtime, UT, UT2003, UT2004, UT3
| This is an auto-generated page and may need human attention. Please remove this 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] PlayerViewOffset
Type: Object.Vector
Offset from view center.
[edit] PlayerViewPivot
Type: Object.Rotator
additive rotation offset for tweaks
[edit] Property group 'Inventory'
[edit] bDrawingFirstPerson
Type: bool
[edit] Charge
Type: int
Modifiers: travel
Charge (for example, armor remaining if an armor)
[edit] Internal variables
[edit] AttachmentClass
Type: class<InventoryAttachment>
Default value: Class'Engine.InventoryAttachment'
[edit] bDisplayableInv
Type: bool
Item displayed in HUD.
[edit] bMergesCopies
Type: bool
[edit] BobDamping
Type: float
Default value: 0.7
[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] Icon
Type: Material
[edit] IconIndex
Type: int
[edit] InventoryGroup
Type: byte
The weapon/inventory set, 0-9.
[edit] ItemID
Type: string
Two character abbreviation for this item.
[edit] ItemName
Type: string
Modifiers: localized
[edit] PickupClass
what class of pickup is associated with this inventory item
[edit] StatusIcon
Type: Material
Icon used with ammo/charge/power count on HUD.
[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] ClientAddInventory
[edit] ClientDeleteInventory
[edit] DetachFromPawn
[edit] DropFrom
[edit] Dump
[edit] GetHumanReadableName
Overrides: Actor.GetHumanReadableName
