A_ClearShadow


Makes the monster opaque and clears the SHADOW flag.

A_ClearShadow

(no parameters)

Examples

This spectre becomes visible if its health goes below 30 (provided it enters its Pain state at least once):

Actor Spectre4ZDoomWiki: Spectre replaces Spectre
{
  States
  {
  Pain:
    SARG H 2 Fast
    SARG H 2 Fast A_Pain
    SARG H 0 A_JumpIfHealthLower(30, "MakingVisible")
    Goto See
  MakingVisible:
    SARG H 0 A_ClearShadow
    Goto See
  }
}
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.