Classes:UpperStackLookOnly

From ZDoom Wiki
Jump to navigation Jump to search
Nuvolabomb.png Warning: The feature described on this page has been deprecated, and will no longer be supported or updated by the GZDoom developers. While some functionality may be retained for the purposes of backwards-compatibility, authors are strongly discouraged from utilizing this feature in future projects. Compatibility with future GZDoom versions is not guaranteed.


Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
  1. This actor is already defined in GZDoom, there's no reason to define it again.
  2. In fact, trying to define an actor with the same name will cause an error (because it already exists).
  3. If you want to make your own version of this actor, use inheritance.
  4. Definitions for existing actors are put on the wiki for reference purpose only.
Upper stack thing
Actor type Map spot Game MiniZDoomLogoIcon.png (ZDoom)
DoomEd Number 9077 Class Name UpperStackLookOnly


Classes: SkyViewpointStackPointUpperStackLookOnly

The upper stack thing is used to make stacked sectors. It goes into the upper stack sector. It takes one argument, the opacity of sector: 0 is invisible, 255 is fully opaque. It is to be used with a LowerStackLookOnly with the same TID, and both sectors should have the same shape and size.

Thing based sector stacks should no longer be used. A more robust method to define them exists with Sector_SetPortal

DECORATE definition

ACTOR UpperStackLookOnly : StackPoint {}