Inventory
Class in Engine · Engine.Inventory · abstract, native
Object › Actor › Inventory
Subclasses: Weapon
Using it from Lua
h7.find_all("Inventory") -- live instances
h7.find_class("Engine.Inventory") -- the class
h7.hook("Engine.Inventory.AnnouncePickup", fn)
Properties
Functions
| Name | Declaration |
AnnouncePickup | function AnnouncePickup(Pawn Other) |
BotDesireability | static function float BotDesireability(Actor PickupHolder, Pawn P, Controller C) |
ClientGivenTo | reliable client function ClientGivenTo(Pawn NewOwner, bool bDoNotActivate) |
DenyPickupQuery | function bool DenyPickupQuery(class<Inventory> ItemClass, Actor Pickup) |
Destroyed | event Destroyed() |
DetourWeight | static function float DetourWeight(Pawn Other, float PathWeight) |
DropFrom | function DropFrom(vector StartLocation, vector StartVelocity) |
GetHumanReadableName | simulated function String GetHumanReadableName() |
GetLocalString | static function string GetLocalString(optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2) |
GivenTo | function GivenTo(Pawn thisPawn, optional bool bDoNotActivate) |
GiveTo | final function GiveTo(Pawn Other) |
ItemRemovedFromInvManager | function ItemRemovedFromInvManager() |
Default values
bOnlyDirtyReplication=true
bOnlyRelevantToOwner=true
NetPriority=1.4
bHidden=true
Physics=PHYS_None
bReplicateMovement=false
RemoteRole=ROLE_SimulatedProxy
DroppedPickupClass=class'DroppedPickup'
MaxDesireability=0.1000
Inherited
| From | Members |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |