PickupMessage() Actor parameter

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

PickupMessage() Actor parameter

Postby Accensus » Wed Apr 21, 2021 1:06 am

PickupMessage is called before the item is attached to the owner, which means you can't call owner.FindInventory and modify the text based on something the actor is holding. Suggestion is to add an (Actor other) parameter so it's possible to access the toucher before the item is attached.
User avatar
Accensus
Vector, locked in.
 
Joined: 11 Feb 2016
Location: Somalia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests