Help
Remember Me?
Home
Forum
Download
Scripting docs
Wiki
Main
Special Pages
Books
Recent Changes
Blogs
Wiki
Main
OnActorPickupItem
This site has been archived and made available for preservation purposes. No edits can be made.
If this is your first visit, be sure to check out the
FAQ
by clicking the link above. You may have to
register
before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
article
discussion
source
history
Viewing source for:
OnActorPickupItem
Gets called when an [wiki]Actor[/wiki] picks up an [wiki]Item[/wiki]. [h="2"] Declaration [/h] [highlight=cpp] VAULTSCRIPT VAULTSPACE Void OnActorPickupItem(VAULTSPACE ID, VAULTSPACE Base, VAULTSPACE UCount, VAULTSPACE Value, VAULTSPACE NPC_) VAULTCPP(noexcept); [/highlight] [highlight=c] forward OnActorPickupItem(ID, item, count, Float:value, owner); [/highlight] [h="2"] Parameters [/h] [b][wiki="ID"]ID[/wiki][/b] - the ID of the [wiki]Actor[/wiki] [b][wiki="UCount"]UCount[/wiki][/b] - the count of the [wiki]Item[/wiki] [b][wiki="Base"]Base[/wiki][/b] - the base ID of the [wiki]Item[/wiki] [b][wiki="Value"]Value[/wiki][/b] - the [wiki]Item condition[/wiki] [b][wiki="NPC_"]NPC_[/wiki][/b] - the owner of the [wiki]Item[/wiki] [h="2"] Return value [/h] None. [h="2"] Related pages [/h] [list][*][wiki]OnActorDropItem[/wiki] [/LIST] [category]VaultMP interface[/category] [category]Scripting callbacks[/category]