A_RestoreSpecialThing1

From ZDoom Wiki
Jump to navigation Jump to search

A_RestoreSpecialThing1

(no parameters)

Error.gif
Warning: This function should not be used. This article is for the purposes of complete documentation only.


Removes the INVISIBLE flag from the calling actor, and gives it the SPECIAL flag, then moves it to a random spawning point for inventory items that have been spawned by a class such as the MaceSpawner, and finally plays the "misc/spawn" sound on the VOICE channel. This, along with A_RestoreSpecialPosition and A_RestoreSpecialThing2, is used by the engine to "respawn" pickup items that were "hidden" after pickup.