Page 1 of 1
How do you make a thing activate its special?
Posted: Wed Jan 17, 2018 11:43 am
by Matt
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?
Re: How do you make a thing activate its special?
Posted: Wed Jan 17, 2018 1:38 pm
by Blue Shadow
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.
Re: How do you make a thing activate its special?
Posted: Wed Jan 17, 2018 8:48 pm
by Matt
Thanks!! I'll give this a try tonight.
...and it turns out it was in the [wiki=A_CallSpecial]wiki[/wiki] this whole time

Re: How do you make a thing activate its special?
Posted: Wed Jan 17, 2018 11:49 pm
by Matt
...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)