A_RestoreSpecialDoomThing

Removes the INVISIBLE flag from the calling actor, and gives it the SPECIAL flag, then restores the NOGRAVITY flag if the actor normally has it, moves it to a random spawning point for inventory items that have been spawned by a class such as the MaceSpawner, and finally puts the calling actor in its Spawn state, plays the "misc/spawn" sound on the VOICE channel, and spawns an ItemFog at the calling actor's position. This, along with A_RestoreSpecialPosition, is used by the engine to "respawn" pickup items that were "hidden" after pickup.

A_RestoreSpecialDoomThing

(no parameters)

Warning: This function should not be used. This article is for the purposes of complete documentation only.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.