|Note: This feature is for ZScript only.|
void CheckFakeFloorTriggers(double oldz[, bool oldz_has_viewheight])
Checks if a fake sector exists at the Actor's location. If one does and the Actor hit it, triggers any actions the fake sector has. Includes hitting the fake sector's floor and if the Actor's eyes went above/below the floor/ceiling of the fake sector. Mainly used when checking for triggers after a vertical movement has occurred.
- oldz - The previous z position of the Actor to check against. Normally the z position before it moved vertically.
- oldz_has_viewheight - False by default. When doing eye level checks the view height is added to the oldz. If this is true, it assumes the oldz already has the view height.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.|