PickupMessage() Actor parameter
Moderator: GZDoom Developers
-
- Posts: 2380
- Joined: Thu Feb 11, 2016 9:59 am
PickupMessage() Actor parameter
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.