PickupMessage() Actor parameter

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

Moderator: GZDoom Developers

Accensus
Posts: 2383
Joined: Thu Feb 11, 2016 9:59 am

PickupMessage() Actor parameter

Post by Accensus »

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.

Return to “Feature Suggestions [GZDoom]”