zscript-doc/api-global-DEHInfo.md

888 B

DEHInfo

Static DeHackEd information.

struct DEHInfo
{
   readonly int    BFGCells;
   readonly int    BlueAC;
   readonly double ExplosionAlpha;
   readonly uint8  ExplosionStyle;
   readonly int    MaxSoulsphere;
   readonly int    NoAutofreeze;
}
  • BFGCells

    The amount of ammunition A_FireBFG will deplete. Default is 40.

  • BlueAC

    Multiple of 100 for BlueArmor's Armor.SaveAmount. Default is 2 for 200 armor.

  • ExplosionAlpha

    For actors with the DEHEXPLOSION flag, the alpha to set the actor to on explosion.

  • ExplosionStyle

    For actors with the DEHEXPLOSION flag, the render style to be applied on explosion.

  • MaxSoulsphere

    The Inventory.MaxAmount for Soulsphere. Default is 200.

  • NoAutofreeze

    Overrides generic freezing deaths if not zero, making all actors act as if they had the NOICEDEATH flag.