I'm trying to replace a pickup actor with another that is interacted with in a different way. Problem is, some maps give this pickup a special that only works if the original item is picked up.
Is there any way to arbitrarily activate a thing's special to keep these maps from breaking?
How do you make a thing activate its special?
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 5043
- Joined: Sun Nov 14, 2010 12:59 am
Re: How do you make a thing activate its special?
This is the function that is called to execute the special of an item on pickup. I'd imagine it should give you an idea of how to accomplish that.
- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
Re: How do you make a thing activate its special?
Thanks!! I'll give this a try tonight.
...and it turns out it was in the [wiki=A_CallSpecial]wiki[/wiki] this whole time
...and it turns out it was in the [wiki=A_CallSpecial]wiki[/wiki] this whole time

- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
Re: How do you make a thing activate its special?
...and I have no idea if it works or not.
Apparently all my specials are being set to zero in the replacement actors and I have no idea why.
(and whoever it was who decided to call these things "special" (n.) owes a few zillion man-hours for the time spent trying to extract any results from trying to use it as a search term)
Apparently all my specials are being set to zero in the replacement actors and I have no idea why.
(and whoever it was who decided to call these things "special" (n.) owes a few zillion man-hours for the time spent trying to extract any results from trying to use it as a search term)