Mostly Harmless
UE2:Inventory (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- Engine
- Direct subclasses:
- Ammunition, FollowCam, Powerups, SpectatorCamera, TriggeredCamera, U2Grapple, U2Inventory, Weapon
- This class in other games:
- RTNP, U1, U2, UDK, UE2Runtime, UT, UT2003, UT2004, 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 'Inventory'
[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.96
[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: Texture
[edit] IconIndex
Type: int
[edit] InventoryGroup
Type: byte
The weapon/inventory set, 0-9.
[edit] ItemID
Type: string
NEW: Two character abbreviation for this item.
[edit] ItemName
Type: string
[edit] PickupClass
what class of pickup is associated with this inventory item
[edit] PlayerViewOffset
Type: Object.Vector
Offset from view center.
[edit] StatusIcon
Type: Texture
Icon used with ammo/charge/power count on HUD.
[edit] ThirdPersonActor
Type: Actor
[edit] ThirdPersonMesh
Type: Mesh
[edit] ThirdPersonMeshInstance
Type: MeshInstance
[edit] ThirdPersonRelativeLocation
Type: Object.Vector
[edit] ThirdPersonRelativeRotation
Type: Object.Rotator
[edit] ThirdPersonScale
Type: float
Default value: 1.0
[edit] ThirdPersonStaticMesh
Type: StaticMesh
[edit] Default values
| Property | Value |
|---|---|
| bAcceptsProjectors | True |
| bClientAnim | True |
| bHidden | True |
| bOnlyOwnerSee | True |
| bReplicateMovement | False |
| bTravel | True |
| DrawType | DT_None |
| NetPriority | 1.4 |
| RemoteRole | ROLE_SimulatedProxy |
[edit] Functions
[edit] Exec functions
[edit] updaterelative
[edit] Events
[edit] Destroyed
Overrides: Actor.Destroyed
[edit] RenderOverlays
[edit] Replication
Overrides: Actor.Replication
[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
